2026-03-02 09:54:52 +08:00

67 lines
1.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using SqlSugar;
using System.ComponentModel.DataAnnotations;
using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
/// <summary>
/// 退款配置
/// </summary>
[SugarTable("RefundConfig")]
public class RefundConfig : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
{
/// <summary>
/// 天数起始值
/// </summary>
[SugarColumn(ColumnDescription = "天数起始值")]
public int DayStart { get; set; }
/// <summary>
/// 天数结束值
/// </summary>
[SugarColumn(ColumnDescription = "天数结束值")]
public int DayEnd { get; set; }
/// <summary>
/// 扣除比例(%)
/// </summary>
[SugarColumn(ColumnDescription = "扣除比例", DecimalDigits = 2)]
public decimal DeductPercentage { get; set; }
/// <summary>
/// 退款备注
/// </summary>
[SugarColumn(ColumnDescription = "退款备注", Length = 256, IsNullable = true)]
public string Remark { get; set; }
/// <summary>
/// 可用状态
/// </summary>
public AvailabilityStatus Status { get; set; }
/// <summary>
/// 标记删除
/// </summary>
public bool DeleteMark { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
public long? UpdatedUserId { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
}