using System;
using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 赛事成绩表
///
[SugarTable("EventResult")]
public class EventResult : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
{
///
/// 可用状态
///
public AvailabilityStatus Status { get; set; }
///
/// 关联的参赛记录ID
///
public long ParticipationRecordId { get; set; }
///
/// 关联的报名ID
///
public long RegistrationId { 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; }
///
/// 项目类型名称
///
[SugarColumn(Length = 64)]
public string ProjectTypeName { get; set; }
///
/// 成绩
///
[SugarColumn(Length = 32)]
public string Score { get; set; }
///
/// 排名
///
public int Rank { get; set; }
///
/// 获奖等级:1-特等奖,2-一等奖,3-二等奖,4-三等奖,5-优秀奖
///
public int AwardLevel { get; set; }
///
/// 获奖状态:0-未获奖,1-已获奖
///
public int AwardStatus { 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; }
}