89 lines
2.0 KiB
C#
89 lines
2.0 KiB
C#
|
|
using YD_Event.Core.Enum;
|
|||
|
|
|
|||
|
|
namespace YD_Event.Core.Entities;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 赛事参赛记录表
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("EventParticipationRecord")]
|
|||
|
|
public class EventParticipationRecord : Entity<long>, IUpdatedTime, ICreatedTime
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的报名ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long RegistrationId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的报名项目ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long RegistrationItemId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的报名人员ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long RegistrationPersonId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 赛事ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long EventId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 赛事项目ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long ProjectId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 参赛选手姓名
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 64)]
|
|||
|
|
public string ParticipantName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 参赛组别
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 64)]
|
|||
|
|
public string GroupName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 参赛状态:0-未参赛,1-已参赛,2-已完赛,3-退赛
|
|||
|
|
/// </summary>
|
|||
|
|
public int ParticipationStatus { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 参赛时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime? ParticipationTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 完赛时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime? FinishTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 取消报名原因
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnDataType = "TEXT")]
|
|||
|
|
public string? CancelReason { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 取消报名时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime? CancelTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 备注
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnDataType = "TEXT")]
|
|||
|
|
public string? Remark { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime? UpdatedTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime CreatedTime { get; set; }
|
|||
|
|
}
|