using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 裁判报名执裁记录。
///
[SugarTable("RefereeApplication")]
public class RefereeApplication : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
{
public long EventId { get; set; }
public long RefereeUserId { get; set; }
/// 1-已报名,2-已确认,3-已拒绝,4-已取消。
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; }
}