39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using SqlSugar;
|
||
using System.ComponentModel.DataAnnotations;
|
||
|
||
namespace YD_Event.Core.Entities;
|
||
|
||
/// <summary>
|
||
/// 退款配置
|
||
/// </summary>
|
||
[SugarTable("RefundConfig")]
|
||
public class RefundConfig : Entity<long>, ICreatedTime, IUpdatedTime
|
||
{
|
||
/// <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; }
|
||
|
||
public DateTime CreatedTime { get; set; }
|
||
public DateTime? UpdatedTime { get; set; }
|
||
}
|