2026-03-08 15:46:19 +08:00
|
|
|
|
using SqlSugar;
|
2026-01-10 16:47:35 +08:00
|
|
|
|
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
|
2026-01-10 16:47:35 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <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; }
|
2026-01-10 16:47:35 +08:00
|
|
|
|
}
|