using System; using System.ComponentModel.DataAnnotations; using System.Diagnostics.CodeAnalysis; using MongoDB.Bson.Serialization.Attributes; using WotBlitzStatisticsPro.Common.Model; namespace WotBlitzStatisticsPro.DataAccess.Model.Accounts { /// /// Account information /// public class AccountInfo { /// /// Player account identifier /// [BsonId] public long AccountId { get; set; } /// /// Player region /// public RealmType Realm { get; set; } /// /// Account creation date /// public int CreatedAt { get; set; } /// /// Last battle time /// public int LastBattleTime { get; set; } /// /// Player's nick /// [Required] public string Nickname { get; set; } = string.Empty; /// /// Player information update date /// public int? UpdatedAt { get; set; } } }