54 lines
1.2 KiB
C#
Raw Normal View History

2026-03-08 15:46:19 +08:00
using SqlSugar;
using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
/// <summary>
/// 赛事费用配置表
/// </summary>
[SugarTable("EventFeeConfig")]
2026-02-26 18:29:08 +08:00
public class EventFeeConfig : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
/// <summary>
/// 关联的赛事ID
/// </summary>
public long EventId { get; set; }
/// <summary>
/// 收费模式
/// </summary>
public ChargeMode ChargeMode { get; set; }
/// <summary>
/// 赛事定价(仅当ChargeMode为FixedPrice或UnitPriceEvent时有效)
/// </summary>
public decimal Price { get; set; }
2026-02-26 18:29:08 +08:00
/// <summary>
/// 标记删除
/// </summary>
public bool DeleteMark { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
/// <summary>
/// 更新人
/// </summary>
2026-03-08 15:46:19 +08:00
[SugarColumn(IsNullable = true)]
2026-02-26 18:29:08 +08:00
public long? UpdatedUserId { get; set; }
/// <summary>
/// 更新时间
/// </summary>
2026-03-08 15:46:19 +08:00
[SugarColumn(IsNullable = true)]
2026-02-26 18:29:08 +08:00
public DateTime? UpdatedTime { get; set; }
}