34 lines
871 B
C#
34 lines
871 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using SVSim.Database.Common;
|
|
using SVSim.Database.Enums;
|
|
|
|
namespace SVSim.Database.Models;
|
|
|
|
public class ShadowverseDeckEntry : BaseEntity<Guid>
|
|
{
|
|
/// <summary>
|
|
/// Internal deck name.
|
|
/// </summary>
|
|
[Required(AllowEmptyStrings = false)]
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Cards in this deck.
|
|
/// </summary>
|
|
public List<DeckCard> Cards { get; set; } = new List<DeckCard>();
|
|
|
|
public int Number { get; set; }
|
|
public Format Format { get; set; }
|
|
public bool RandomLeaderSkin { get; set; }
|
|
|
|
#region Navigation Properties
|
|
|
|
public ClassEntry Class { get; set; } = new ClassEntry();
|
|
|
|
public SleeveEntry Sleeve { get; set; } = new SleeveEntry();
|
|
|
|
public LeaderSkinEntry LeaderSkin { get; set; } = new LeaderSkinEntry();
|
|
|
|
#endregion
|
|
}
|