From ac00caf83e85636d04456f3fbea8ab4cfb02dc05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Kaan=20K=C3=B6se?= Date: Sat, 24 Aug 2024 16:06:06 +0200 Subject: [PATCH] AccountContact comments. --- Wino.Core.Domain/Entities/AccountContact.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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}>";