88 lines
1.8 KiB
C#
88 lines
1.8 KiB
C#
|
|
using YD_Event.Core.Enum;
|
||
|
|
|
||
|
|
namespace YD_Event.Core.Entities;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 赛事报名人员表
|
||
|
|
/// </summary>
|
||
|
|
[SugarTable("EventRegistrationPerson")]
|
||
|
|
public class EventRegistrationPerson : Entity<long>
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 关联的报名ID
|
||
|
|
/// </summary>
|
||
|
|
public long RegistrationId { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 关联的报名项目ID
|
||
|
|
/// </summary>
|
||
|
|
public long RegistrationItemId { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 关联的赛事项目ID
|
||
|
|
/// </summary>
|
||
|
|
public long ProjectId { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 姓名
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 64)]
|
||
|
|
public string Name { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 性别
|
||
|
|
/// </summary>
|
||
|
|
public Gender Gender { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 身份证号
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 18)]
|
||
|
|
public string IdCard { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 出生日期
|
||
|
|
/// </summary>
|
||
|
|
public DateTime BirthDate { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 手机号
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 16)]
|
||
|
|
public string Phone { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 年龄
|
||
|
|
/// </summary>
|
||
|
|
public int Age { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 邮箱
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 64)]
|
||
|
|
public string? Email { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 所属组别
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 64)]
|
||
|
|
public string GroupName { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 参赛项目名称
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 128)]
|
||
|
|
public string? ProjectName { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 自定义字段值
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 128)]
|
||
|
|
public string? CustomFieldValue { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 备注
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(ColumnDataType = "TEXT")]
|
||
|
|
public string? Remark { get; set; }
|
||
|
|
}
|