55 lines
1.5 KiB
C#
55 lines
1.5 KiB
C#
using SqlSugar;
|
||
using System.ComponentModel.DataAnnotations;
|
||
|
||
namespace YD_Event.Core.Entities;
|
||
|
||
/// <summary>
|
||
/// 退款配置
|
||
/// </summary>
|
||
[SugarTable("RefundConfig")]
|
||
public class RefundConfig : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, 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; }
|
||
|
||
/// <summary>
|
||
/// 标记删除
|
||
/// </summary>
|
||
public bool DeleteMark { get; set; }
|
||
|
||
/// <summary>
|
||
/// 创建人
|
||
/// </summary>
|
||
public long CreatedUserId { get; set; }
|
||
|
||
public DateTime CreatedTime { get; set; }
|
||
|
||
/// <summary>
|
||
/// 更新人
|
||
/// </summary>
|
||
public long? UpdatedUserId { get; set; }
|
||
|
||
public DateTime? UpdatedTime { get; set; }
|
||
}
|