namespace YD_Event.Core.Entities; /// /// 赛事报名限制表 /// [SugarTable("EventRegistrationLimit")] public class EventRegistrationLimit : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime { /// /// 关联的赛事ID /// public long EventId { get; set; } /// /// 个人项目限报数量(每人最多报多少个个人项目) /// public int IndividualProjectLimit { get; set; } /// /// 团队项目限报数量(每人最多报多少个团队项目) /// public int TeamProjectLimit { get; set; } /// /// 裁判限报数量(每个单位最多可报多少名裁判) /// public int RefereeLimit { get; set; } /// /// 项目限报列表(导航属性) /// [SugarColumn(IsIgnore = true)] public List? ProjectLimits { get; set; } /// /// 标记删除 /// public bool DeleteMark { get; set; } /// /// 创建人 /// public long CreatedUserId { get; set; } /// /// 创建时间 /// public DateTime CreatedTime { get; set; } /// /// 更新人 /// public long? UpdatedUserId { get; set; } /// /// 更新时间 /// public DateTime? UpdatedTime { get; set; } }