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>
/// Joins /load/index data.my_rotation_info.{setting, reprinted_base_card_ids, restricted_base_card_id_list}
/// on rotation_id. CardSetIdsCsv and AbilitiesCsv mirror the wire's pipe-delimited string format
/// (e.g. "10000|10001|10002"); the importer keeps them verbatim.
/// </summary>
public class MyRotationSettingEntry : BaseEntity<int>
{
public int RotationId { get => Id; set => Id = value; }
public string CardSetIdsCsv { get; set; } = string.Empty;
public string AbilitiesCsv { get; set; } = string.Empty;
[Column(TypeName = "jsonb")]
public string ReprintedCardIds { get; set; } = "[]";
[Column(TypeName = "jsonb")]
public string RestrictedCardIds { get; set; } = "[]";
}