Seeding updated

This commit is contained in:
gamer147
2026-05-23 16:25:49 -04:00
parent 5f44ee0c7e
commit 56d3cf0ec8
38 changed files with 52689 additions and 62 deletions

View File

@@ -0,0 +1,24 @@
using System.ComponentModel.DataAnnotations.Schema;
using SVSim.Database.Common;
namespace SVSim.Database.Models;
/// <summary>
/// Starter / "use default" deck definition from /deck/info data.default_deck_list.
/// CardIdArray is the wire's int[] of 40 card_id values; stored as jsonb to keep it array-shaped.
/// </summary>
public class DefaultDeckEntry : BaseEntity<int>
{
public int DeckNo { get => Id; set => Id = value; }
public int ClassId { get; set; }
public long SleeveId { get; set; }
public int LeaderSkinId { get; set; }
public string DeckName { get; set; } = string.Empty;
[Column(TypeName = "jsonb")]
public string CardIdArray { get; set; } = "[]";
}