YD_Event.Admin/YD_Event.Core/Entities/RefereeApplication.cs
ltx 25830581d2 feat(api): 完善小程序赛事角色与秩序册检录接口
新增成绩查询、裁判认证及检录员账号管理接口,并统一小程序角色登录与个人中心数据。

检录任务绑定赛事秩序册场次,按项目、组别、场地和场次顺序执行;支持最多三名检录员、分配检录轮次及前序检录校验。

补充检录任务、检录记录、裁判申请实体及四份数据库迁移,包含表字段备注、秩序册绑定和检录序号。
2026-08-07 14:59:15 +08:00

27 lines
912 B
C#
Raw Permalink 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 YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
/// <summary>
/// 裁判报名执裁记录。
/// </summary>
[SugarTable("RefereeApplication")]
public class RefereeApplication : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
{
public long EventId { get; set; }
public long RefereeUserId { get; set; }
/// <summary>1-已报名,2-已确认,3-已拒绝,4-已取消。</summary>
public int ApplicationStatus { get; set; } = 1;
[SugarColumn(Length = 512, IsNullable = true)]
public string? Remark { get; set; }
public AvailabilityStatus Status { get; set; } = AvailabilityStatus.Enable;
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; }
}