YD_Event.Admin/YD_Event.Core/Entities/EventSessionEntryRematch.cs

102 lines
2.4 KiB
C#
Raw 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.

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