refactor(bootstrap): migrate mypage-index globals to seed files
This commit is contained in:
15
SVSim.Bootstrap/Models/Seed/BannerSeed.cs
Normal file
15
SVSim.Bootstrap/Models/Seed/BannerSeed.cs
Normal 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; }
|
||||
}
|
||||
Reference in New Issue
Block a user