122 lines
2.9 KiB
C#
122 lines
2.9 KiB
C#
|
|
namespace YD_Event.Core.Entities;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 成绩投屏记录表
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("EventResultScreenCast")]
|
|||
|
|
public class EventResultScreenCast : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的赛事ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long EventId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 投屏类型:1-成绩,2-排名
|
|||
|
|
/// </summary>
|
|||
|
|
public int CastType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 投屏场地ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? VenueId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的赛事项目ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? EventProjectId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的赛事项目组别ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? EventProjectGroupId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的比赛场次ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? SessionId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的场次出场记录ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? SessionEntryId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的赛事成绩ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? EventResultId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 投屏时的成绩版本号
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public int? ResultVersion { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 投屏内容快照(JSON)
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(ColumnDataType = "nvarchar(max)")]
|
|||
|
|
public string PayloadJson { get; set; } = null!;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 投屏状态:0-已投出,10-已撤回,20-已被新投屏替换
|
|||
|
|
/// </summary>
|
|||
|
|
public int CastStatus { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 投屏时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime CastTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 撤回时间
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public DateTime? RevokedTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 撤回人
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? RevokedUserId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 备注
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 512, IsNullable = true)]
|
|||
|
|
public string? Remark { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 标记删除
|
|||
|
|
/// </summary>
|
|||
|
|
public bool DeleteMark { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建人
|
|||
|
|
/// </summary>
|
|||
|
|
public long CreatedUserId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime CreatedTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新人
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? UpdatedUserId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新时间
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public DateTime? UpdatedTime { get; set; }
|
|||
|
|
}
|