2026-08-07 14:59:15 +08:00
|
|
|
|
namespace YD_Event.Core.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2026-08-17 00:14:48 +08:00
|
|
|
|
/// 检录人员状态记录表
|
2026-08-07 14:59:15 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("CheckinRecord")]
|
|
|
|
|
|
public class CheckinRecord : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
|
|
|
|
|
|
{
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 关联的检录任务ID
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long TaskId { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 检次(与检录任务的 CheckinNo 一致)
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public int Round { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 秩序册列标识
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
[SugarColumn(Length = 64, IsNullable = true)]
|
|
|
|
|
|
public string? SessionKey { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 秩序册列的出场顺序
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public int SessionOrder { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 参赛组别ID(不限定组别时为空)
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
[SugarColumn(IsNullable = true)]
|
|
|
|
|
|
public long? GroupId { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 关联的报名人员ID
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long RegistrationPersonId { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 执行检录的检录员用户ID
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long CheckerUserId { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 是否已检录
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public bool Checked { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 检录时间(取消检录时置空)
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
[SugarColumn(IsNullable = true)]
|
|
|
|
|
|
public DateTime? CheckedTime { get; set; }
|
|
|
|
|
|
|
2026-08-11 23:41:18 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 标记删除
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public bool DeleteMark { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建人
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long CreatedUserId { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 创建时间
|
|
|
|
|
|
/// </summary>
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public DateTime CreatedTime { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新人
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public long? UpdatedUserId { get; set; }
|
2026-08-11 23:41:18 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 更新时间
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
2026-08-07 14:59:15 +08:00
|
|
|
|
public DateTime? UpdatedTime { get; set; }
|
|
|
|
|
|
}
|