using SqlSugar; using System.ComponentModel.DataAnnotations; using YD_Event.Core.Enum; namespace YD_Event.Core.Entities; /// /// 退款配置 /// [SugarTable("RefundConfig")] public class RefundConfig : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability { /// /// 天数起始值 /// [SugarColumn(ColumnDescription = "天数起始值")] public int DayStart { get; set; } /// /// 天数结束值 /// [SugarColumn(ColumnDescription = "天数结束值")] public int DayEnd { get; set; } /// /// 扣除比例(%) /// [SugarColumn(ColumnDescription = "扣除比例", DecimalDigits = 2)] public decimal DeductPercentage { get; set; } /// /// 退款备注 /// [SugarColumn(ColumnDescription = "退款备注", Length = 256, IsNullable = true)] public string Remark { get; set; } /// /// 可用状态 /// public AvailabilityStatus Status { get; set; } /// /// 标记删除 /// public bool DeleteMark { get; set; } /// /// 创建人 /// public long CreatedUserId { get; set; } /// /// 创建时间 /// public DateTime CreatedTime { get; set; } /// /// 更新人 /// public long? UpdatedUserId { get; set; } /// /// 更新时间 /// public DateTime? UpdatedTime { get; set; } }