diff --git a/Wino.Core.Domain/Entities/AccountContact.cs b/Wino.Core.Domain/Entities/AccountContact.cs index e761e40e..7585d8e0 100644 --- a/Wino.Core.Domain/Entities/AccountContact.cs +++ b/Wino.Core.Domain/Entities/AccountContact.cs @@ -13,10 +13,27 @@ namespace Wino.Core.Domain.Entities // Do it. public class AccountContact : IEquatable { + /// + /// E-mail address of the contact. + /// [PrimaryKey] public string Address { get; set; } + + /// + /// Display name of the contact. + /// public string Name { get; set; } + + /// + /// Base64 encoded profile image of the contact. + /// public string Base64ContactPicture { get; set; } + + /// + /// All registered accounts have their contacts registered as root. + /// Root contacts must not be overridden by any configuration. + /// They are created on account creation. + /// public bool IsRootContact { get; set; } public string DisplayName => Address == Name ? Address : $"{Name} <{Address}>";