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:
16
SVSim.Bootstrap/Models/Seed/HomeDialogSeed.cs
Normal file
16
SVSim.Bootstrap/Models/Seed/HomeDialogSeed.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user