using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 赛事参赛记录表
///
[SugarTable("EventParticipationRecord")]
public class EventParticipationRecord : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
///
/// 关联的报名ID
///
public long RegistrationId { get; set; }
///
/// 关联的报名项目ID
///
public long RegistrationItemId { get; set; }
///
/// 关联的报名人员ID
///
public long RegistrationPersonId { get; set; }
///
/// 赛事ID
///
public long EventId { get; set; }
///
/// 赛事项目ID
///
public long ProjectId { get; set; }
///
/// 参赛选手姓名
///
[SugarColumn(Length = 64)]
public string ParticipantName { get; set; }
///
/// 参赛组别
///
[SugarColumn(Length = 64)]
public string GroupName { get; set; }
///
/// 参赛状态
///
public ParticipationStatus ParticipationStatus { get; set; }
///
/// 参赛时间
///
public DateTime? ParticipationTime { get; set; }
///
/// 完赛时间
///
public DateTime? FinishTime { get; set; }
///
/// 取消报名原因
///
[SugarColumn(ColumnDataType = "TEXT")]
public string? CancelReason { get; set; }
///
/// 取消报名时间
///
public DateTime? CancelTime { get; set; }
///
/// 备注
///
[SugarColumn(ColumnDataType = "TEXT")]
public string? Remark { get; set; }
///
/// 标记删除
///
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; }
}