using System.ComponentModel.DataAnnotations.Schema; using SVSim.Database.Common; namespace SVSim.Database.Models; /// /// One mypage banner from /mypage/index data.banner. Id is synthetic ordinal (1-N) since the wire /// has no explicit ID. Highly time-varying content — recapture aggressively before EOS. /// public class BannerEntry : BaseEntity { public string ImageName { get; set; } = string.Empty; public string Click { get; set; } = string.Empty; public string Status { get; set; } = string.Empty; public int ChangeTime { get; set; } public int RemainingTime { get; set; } [Column(TypeName = "jsonb")] public string ImagePaths { get; set; } = "[]"; }