More features
This commit is contained in:
@@ -1,11 +1,22 @@
|
||||
using DCGEngine.Database.Models;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using SVSim.Database.Common;
|
||||
using SVSim.Database.Enums;
|
||||
|
||||
namespace SVSim.Database.Models;
|
||||
|
||||
public class ShadowverseDeckEntry : DeckEntry
|
||||
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; }
|
||||
@@ -19,4 +30,4 @@ public class ShadowverseDeckEntry : DeckEntry
|
||||
public LeaderSkinEntry LeaderSkin { get; set; } = new LeaderSkinEntry();
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user