refactor(bootstrap): migrate mypage-index globals to seed files

This commit is contained in:
gamer147
2026-05-26 14:31:25 -04:00
parent 0da8ebe1c1
commit a5e4f35c32
16 changed files with 561 additions and 368 deletions

View File

@@ -0,0 +1,15 @@
using System.Text.Json;
using System.Text.Json.Serialization;
namespace SVSim.Bootstrap.Models.Seed;
public sealed class BannerSeed
{
[JsonPropertyName("id")] public int Id { get; set; }
[JsonPropertyName("image_name")] public string ImageName { get; set; } = "";
[JsonPropertyName("click")] public string Click { get; set; } = "";
[JsonPropertyName("status")] public string Status { get; set; } = "";
[JsonPropertyName("change_time")] public int ChangeTime { get; set; }
[JsonPropertyName("remaining_time")] public int RemainingTime { get; set; }
[JsonPropertyName("image_paths")] public JsonElement ImagePaths { get; set; }
}