feat(home-dialog): seed file + importer + bootstrap hookup

Mirrors banners pattern: clear-and-rewrite from per-table JSON seed.
Ships one entry pointing at parent_gacha_id 80032 to match the
2026-06-03 prod capture.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-08 18:57:38 -04:00
parent 9d6a5cc3b9
commit ce32a9c6b7
6 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
using System.Text.Json;
using System.Text.Json.Serialization;
namespace SVSim.Bootstrap.Models.Seed;
public sealed class HomeDialogSeed
{
[JsonPropertyName("id")] public int Id { get; set; }
[JsonPropertyName("title_text_id")] public string TitleTextId { get; set; } = "";
[JsonPropertyName("image")] public string Image { get; set; } = "";
[JsonPropertyName("button_list")] public JsonElement ButtonList { get; set; }
[JsonPropertyName("begin_time")] public string BeginTime { get; set; } = "";
[JsonPropertyName("end_time")] public string EndTime { get; set; } = "";
[JsonPropertyName("type")] public int? Type { get; set; }
[JsonPropertyName("priority")] public int Priority { get; set; }
}