Add contracts annotations

This commit is contained in:
Sergey Nazarov 2024-03-28 09:00:33 +03:00
parent bddecdef2b
commit 2721f57b9c
2 changed files with 12 additions and 0 deletions

View File

@ -4,7 +4,13 @@ public sealed class UserData
{
public long Id { get; set; }
/// <summary>
/// Имя пользователя
/// </summary>
public string Username { get; set; }
/// <summary>
/// Список идентити пользователя
/// </summary>
public UserIdentityData[] Identities { get; set; }
}

View File

@ -4,7 +4,13 @@ public sealed class UserIdentityData
{
public long Id { get; set; }
/// <summary>
/// Тип
/// </summary>
public UserIdentityType Type { get; set; }
/// <summary>
/// Идентити
/// </summary>
public string Identity { get; set; }
}