63 lines
1.4 KiB
C#
63 lines
1.4 KiB
C#
|
|
using YD_Event.Core.Enum;
|
||
|
|
|
||
|
|
namespace YD_Event.Core.Entities;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 赛事报名项目关联表
|
||
|
|
/// </summary>
|
||
|
|
[SugarTable("EventRegistrationItem")]
|
||
|
|
public class EventRegistrationItem : Entity<long>
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// 关联的报名ID
|
||
|
|
/// </summary>
|
||
|
|
public long RegistrationId { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 参赛项目ID
|
||
|
|
/// </summary>
|
||
|
|
public long ProjectId { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 参赛项目名称
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 128)]
|
||
|
|
public string ProjectName { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 项目主类型
|
||
|
|
/// </summary>
|
||
|
|
public ProjectMainType ProjectMainType { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 项目子类型
|
||
|
|
/// </summary>
|
||
|
|
public ProjectSubType ProjectSubType { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 所属组别
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(Length = 64)]
|
||
|
|
public string GroupName { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 单项目费用(元)
|
||
|
|
/// </summary>
|
||
|
|
public decimal UnitPrice { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 报名人数
|
||
|
|
/// </summary>
|
||
|
|
public int PersonCount { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 项目总费用(元)
|
||
|
|
/// </summary>
|
||
|
|
public decimal TotalPrice { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// 备注
|
||
|
|
/// </summary>
|
||
|
|
[SugarColumn(ColumnDataType = "TEXT")]
|
||
|
|
public string? Remark { get; set; }
|
||
|
|
}
|