95 lines
2.1 KiB
C#
Raw Normal View History

using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
/// <summary>
/// 赛事评分表
/// </summary>
[SugarTable("EventScoreSheet")]
2026-02-26 18:29:08 +08:00
public class EventScoreSheet : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
/// <summary>
/// 关联的赛事ID
/// </summary>
public long EventId { get; set; }
/// <summary>
/// 关联的项目ID
/// </summary>
public long ProjectId { get; set; }
/// <summary>
/// 项目名称
/// </summary>
[SugarColumn(Length = 128)]
public string ProjectName { get; set; }
/// <summary>
/// 参赛组别
/// </summary>
[SugarColumn(Length = 64)]
public string GroupName { get; set; }
/// <summary>
/// 评分轮次
/// </summary>
public int Round { get; set; }
/// <summary>
/// 评分表名称
/// </summary>
[SugarColumn(Length = 128)]
public string SheetName { get; set; }
/// <summary>
/// 评分标准
/// </summary>
[SugarColumn(ColumnDataType = "TEXT")]
public string? ScoreCriteria { get; set; }
/// <summary>
/// 评分状态:0-未开始,1-评分中,2-已完成,3-已锁定
/// </summary>
public int ScoreStatus { get; set; }
/// <summary>
/// 开始评分时间
/// </summary>
public DateTime? StartScoreTime { get; set; }
/// <summary>
/// 结束评分时间
/// </summary>
public DateTime? EndScoreTime { get; set; }
/// <summary>
/// 备注
/// </summary>
[SugarColumn(ColumnDataType = "TEXT")]
public string? Remark { get; set; }
/// <summary>
2026-02-26 18:29:08 +08:00
/// 标记删除
/// </summary>
2026-02-26 18:29:08 +08:00
public bool DeleteMark { get; set; }
/// <summary>
/// 创建人
/// </summary>
public long CreatedUserId { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime CreatedTime { get; set; }
2026-02-26 18:29:08 +08:00
/// <summary>
/// 更新人
/// </summary>
public long? UpdatedUserId { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdatedTime { get; set; }
}