using System; using System.Collections.Generic; using YD_Event.Core.Enum; namespace YD_Event.Application.Event.Dtos; /// /// 积分规则详情快照 DTO /// public class PointsRuleDetailSnapshotDto { /// /// 起始名次 /// public int StartRank { get; set; } /// /// 截止名次 /// public int EndRank { get; set; } /// /// 发放积分个数 /// public int Points { get; set; } } /// /// 积分规则快照 DTO /// public class PointsRuleSnapshotDto { /// /// 积分规则 ID(快照时的 ID) /// public long PointsRuleId { get; set; } /// /// 积分规则名称 /// public string RuleName { get; set; } /// /// 参与积分(发放积分个数) /// public int? ParticipationPoints { get; set; } /// /// 备注 /// public string? Remark { get; set; } /// /// 关联的名次积分规则 /// public List Details { get; set; } = new List(); } /// /// 退款规则快照 DTO /// public class RefundRuleSnapshotDto { /// /// 退款配置 ID(快照时的 ID) /// public long RefundConfigId { get; set; } /// /// 距离比赛开始天数(起) /// public int DayStart { get; set; } /// /// 距离比赛开始天数(止) /// public int DayEnd { get; set; } /// /// 扣除比例 (0-100) /// public decimal DeductPercentage { get; set; } /// /// 备注 /// public string? Remark { get; set; } }