using SqlSugar;
using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 赛事项目关联表
///
public class EventProject : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
///
/// 赛事ID
///
public long EventId { get; set; }
///
/// 项目ID
///
public long ProjectId { get; set; }
///
/// 性别要求 (男/女/不限)
///
public Gender GenderType { get; set; }
///
/// 价格
///
[SugarColumn(DecimalDigits = 2)]
public decimal Price { get; set; }
///
/// 赛事项目组别列表(导航属性)
///
[SugarColumn(IsIgnore = true)]
public List? Groups { get; set; }
///
/// 标记删除
///
public bool DeleteMark { get; set; }
///
/// 创建人
///
public long CreatedUserId { get; set; }
///
/// 创建时间
///
public DateTime CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(IsNullable = true)]
public long? UpdatedUserId { get; set; }
///
/// 更新时间
///
[SugarColumn(IsNullable = true)]
public DateTime? UpdatedTime { get; set; }
}