namespace YD_Event.Core.Entities;
///
/// 重赛记录表
///
[SugarTable("EventSessionEntryRematch")]
public class EventSessionEntryRematch : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
///
/// 关联的赛事ID
///
public long EventId { get; set; }
///
/// 关联的赛事项目ID
///
public long EventProjectId { get; set; }
///
/// 关联的赛事项目组别ID
///
[SugarColumn(IsNullable = true)]
public long? EventProjectGroupId { get; set; }
///
/// 原比赛场次ID
///
public long OriginalSessionId { get; set; }
///
/// 原场次出场记录ID
///
public long OriginalSessionEntryId { get; set; }
///
/// 重赛场次ID
///
[SugarColumn(IsNullable = true)]
public long? NewSessionId { get; set; }
///
/// 重赛出场记录ID
///
[SugarColumn(IsNullable = true)]
public long? NewSessionEntryId { get; set; }
///
/// 重赛原因编码
///
[SugarColumn(Length = 64)]
public string ReasonCode { get; set; } = null!;
///
/// 重赛原因说明
///
[SugarColumn(Length = 512)]
public string RematchReason { get; set; } = null!;
///
/// 申请人ID
///
public long ApplyUserId { get; set; }
///
/// 重赛状态:0-已申请,10-已安排,20-已完成,90-已取消
///
public int RematchStatus { get; set; }
///
/// 完成时间
///
[SugarColumn(IsNullable = true)]
public DateTime? CompletedTime { 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; }
}