94 lines
2.1 KiB
C#
94 lines
2.1 KiB
C#
|
|
using YD_Event.Core.Enum;
|
|||
|
|
|
|||
|
|
namespace YD_Event.Core.Entities;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 赛事成绩表
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("EventResult")]
|
|||
|
|
public class EventResult : Entity<long>, IUpdatedTime, ICreatedTime
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的参赛记录ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long ParticipationRecordId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的报名ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long RegistrationId { 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>
|
|||
|
|
/// 项目主类型
|
|||
|
|
/// </summary>
|
|||
|
|
public ProjectMainType ProjectMainType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 项目子类型
|
|||
|
|
/// </summary>
|
|||
|
|
public ProjectSubType ProjectSubType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 成绩
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 32)]
|
|||
|
|
public string Score { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 排名
|
|||
|
|
/// </summary>
|
|||
|
|
public int Rank { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获奖等级:1-特等奖,2-一等奖,3-二等奖,4-三等奖,5-优秀奖
|
|||
|
|
/// </summary>
|
|||
|
|
public int AwardLevel { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 获奖状态:0-未获奖,1-已获奖
|
|||
|
|
/// </summary>
|
|||
|
|
public int AwardStatus { 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; }
|
|||
|
|
}
|