More features

This commit is contained in:
gamer147
2026-05-23 14:18:01 -04:00
parent b2024af852
commit 6b70850b7b
59 changed files with 862 additions and 42033 deletions

View File

@@ -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
}
}