Getting ready to seed more data

This commit is contained in:
gamer147
2026-05-23 15:47:23 -04:00
parent 631e42289a
commit 5f44ee0c7e
74 changed files with 499 additions and 50 deletions

View File

@@ -1,5 +1,6 @@
using MessagePack;
using SVSim.Database.Models;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos;
@@ -9,34 +10,49 @@ namespace SVSim.EmulatedEntrypoint.Models.Dtos;
[MessagePackObject]
public class UserDeck
{
[JsonPropertyName("deck_no")]
[Key("deck_no")]
public int DeckNumber { get; set; }
[JsonPropertyName("class_id")]
[Key("class_id")]
public int ClassId { get; set; }
[JsonPropertyName("sleeve_id")]
[Key("sleeve_id")]
public int SleeveId { get; set; }
[JsonPropertyName("leader_skin_id")]
[Key("leader_skin_id")]
public int LeaderSkinId { get; set; }
[JsonPropertyName("deck_name")]
[Key("deck_name")]
public string Name { get; set; } = string.Empty;
[JsonPropertyName("card_id_array")]
[Key("card_id_array")]
public List<long> Cards { get; set; } = new List<long>();
[JsonPropertyName("is_complete_deck")]
[Key("is_complete_deck")]
public int IsCompleteDeck { get; set; }
[JsonPropertyName("restricted_card_exists")]
[Key("restricted_card_exists")]
public bool RestrictedCardExists { get; set; }
[JsonPropertyName("is_available_deck")]
[Key("is_available_deck")]
public int IsAvailable { get; set; }
[JsonPropertyName("maintenance_card_ids")]
[Key("maintenance_card_ids")]
public List<long> MaintenanceCards { get; set; } = new List<long>();
[JsonPropertyName("is_include_un_possession_card")]
[Key("is_include_un_possession_card")]
public bool IncludesNonCollectibleCards { get; set; }
[JsonPropertyName("is_random_leader_skin")]
[Key("is_random_leader_skin")]
public int IsRandomLeaderSkin { get; set; }
[JsonPropertyName("leader_skin_id_list")]
[Key("leader_skin_id_list")]
public List<int> LeaderSkinIds { get; set; } = new List<int> { 0 };
[JsonPropertyName("order_num")]
[Key("order_num")]
public int Order { get; set; }
[JsonPropertyName("create_deck_time")]
[Key("create_deck_time")]
public DateTime DeckCreateTime { get; set; }