2026-02-07 17:28:46 +08:00
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
|
|
|
|
namespace YD_Event.Core.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 退款配置
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("RefundConfig")]
|
2026-02-26 18:29:08 +08:00
|
|
|
|
public class RefundConfig : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
|
2026-02-07 17:28:46 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 开赛前7天扣除比例(%)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "开赛前7天扣除比例", DecimalDigits = 2)]
|
|
|
|
|
|
public decimal DeductPercentageBefore7Days { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 3-7天扣除比例(%)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "3-7天扣除比例", DecimalDigits = 2)]
|
|
|
|
|
|
public decimal DeductPercentage3To7Days { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 3天内扣除比例(%)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "3天内扣除比例", DecimalDigits = 2)]
|
|
|
|
|
|
public decimal DeductPercentageWithin3Days { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备注
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnDescription = "备注", Length = 256, IsNullable = true)]
|
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
|
2026-02-26 18:29:08 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 标记删除
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool DeleteMark { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long CreatedUserId { get; set; }
|
|
|
|
|
|
|
2026-02-07 17:28:46 +08:00
|
|
|
|
public DateTime CreatedTime { get; set; }
|
2026-02-26 18:29:08 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public long? UpdatedUserId { get; set; }
|
|
|
|
|
|
|
2026-02-07 17:28:46 +08:00
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
}
|