using SqlSugar; using System.ComponentModel.DataAnnotations; namespace YD_Event.Core.Entities; /// /// 退款配置 /// [SugarTable("RefundConfig")] public class RefundConfig : Entity, ICreatedTime, IUpdatedTime { /// /// 开赛前7天扣除比例(%) /// [SugarColumn(ColumnDescription = "开赛前7天扣除比例", DecimalDigits = 2)] public decimal DeductPercentageBefore7Days { get; set; } /// /// 3-7天扣除比例(%) /// [SugarColumn(ColumnDescription = "3-7天扣除比例", DecimalDigits = 2)] public decimal DeductPercentage3To7Days { get; set; } /// /// 3天内扣除比例(%) /// [SugarColumn(ColumnDescription = "3天内扣除比例", DecimalDigits = 2)] public decimal DeductPercentageWithin3Days { get; set; } /// /// 备注 /// [SugarColumn(ColumnDescription = "备注", Length = 256, IsNullable = true)] public string Remark { get; set; } public DateTime CreatedTime { get; set; } public DateTime? UpdatedTime { get; set; } }