84 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace YD_Event.Core.Entities;
/// <summary>
/// 检录人员状态记录表
/// </summary>
[SugarTable("CheckinRecord")]
public class CheckinRecord : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
/// <summary>
/// 关联的检录任务ID
/// </summary>
public long TaskId { get; set; }
/// <summary>
/// 检次(与检录任务的 CheckinNo 一致)
/// </summary>
public int Round { get; set; }
/// <summary>
/// 秩序册列标识
/// </summary>
[SugarColumn(Length = 64, IsNullable = true)]
public string? SessionKey { get; set; }
/// <summary>
/// 秩序册列的出场顺序
/// </summary>
public int SessionOrder { get; set; }
/// <summary>
/// 参赛组别ID(不限定组别时为空)
/// </summary>
[SugarColumn(IsNullable = true)]
public long? GroupId { get; set; }
/// <summary>
/// 关联的报名人员ID
/// </summary>
public long RegistrationPersonId { get; set; }
/// <summary>
/// 执行检录的检录员用户ID
/// </summary>
public long CheckerUserId { get; set; }
/// <summary>
/// 是否已检录
/// </summary>
public bool Checked { get; set; }
/// <summary>
/// 检录时间(取消检录时置空)
/// </summary>
[SugarColumn(IsNullable = true)]
public DateTime? CheckedTime { 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; }
}