2026-08-07 14:59:15 +08:00
|
|
|
|
using YD_Event.Core.Enum;
|
|
|
|
|
|
|
|
|
|
|
|
namespace YD_Event.Core.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// 裁判报名执裁记录表
|
2026-08-07 14:59:15 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("RefereeApplication")]
|
|
|
|
|
|
public class RefereeApplication : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
|
|
|
|
|
|
{
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 关联的赛事ID
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long EventId { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 报名执裁的小程序用户ID(对应 AppUser.Id,账户角色为裁判)
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long RefereeUserId { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 报名状态:1-已报名执裁,2-已确认执裁,3-报名未通过,4-已取消
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public int ApplicationStatus { get; set; } = 1;
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 备注
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
[SugarColumn(Length = 512, IsNullable = true)]
|
|
|
|
|
|
public string? Remark { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 可用状态
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public AvailabilityStatus Status { get; set; } = AvailabilityStatus.Enable;
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 标记删除
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public bool DeleteMark { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long CreatedUserId { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public DateTime CreatedTime { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long? UpdatedUserId { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
}
|