Files
SVSimServer/SVSim.Database/Models/ShadowverseCardEntry.cs
2024-09-12 00:35:31 -04:00

37 lines
917 B
C#

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
{
/// <summary>
/// The rarity of this card.
/// </summary>
public Rarity Rarity { get; set; }
#region Owned
/// <summary>
/// Info about this card in the collection, if it can be collected.
/// </summary>
public CollectionInfo? CollectionInfo { get; set; }
#endregion
#region Navigation Properties
/// <summary>
/// The class this card belongs to, or optionally none for neutral cards.
/// </summary>
public ClassEntry? Class { get; set; }
/// <summary>
/// The set this card belongs to.
/// </summary>
public CardSetEntry CardSet { get; set; } = new ShadowverseCardSetEntry();
#endregion
}