using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using DCGEngine.Database.Models; using SVSim.Database.Enums; namespace SVSim.Database.Models; public class ShadowverseCardEntry : CardEntry { /// /// The rarity of this card. /// public Rarity Rarity { get; set; } #region Owned /// /// Info about this card in the collection, if it can be collected. /// public CollectionInfo? CollectionInfo { get; set; } #endregion #region Navigation Properties /// /// The class this card belongs to, or optionally none for neutral cards. /// public ClassEntry? Class { get; set; } /// /// The set this card belongs to. /// public CardSetEntry CardSet { get; set; } = new ShadowverseCardSetEntry(); #endregion }