114 lines
2.6 KiB
C#
114 lines
2.6 KiB
C#
using System;
|
||
|
||
namespace YD_Event.Core.Entities;
|
||
|
||
/// <summary>
|
||
/// 赛事报名项目关联表
|
||
/// </summary>
|
||
[SugarTable("EventRegistrationItem")]
|
||
public class EventRegistrationItem : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
|
||
{
|
||
/// <summary>
|
||
/// 关联的报名ID
|
||
/// </summary>
|
||
public long RegistrationId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 参赛项目ID
|
||
/// </summary>
|
||
public long ProjectId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 参赛项目组别ID
|
||
/// </summary>
|
||
public long? EventProjectGroupId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 报名时选择的来源团队ID
|
||
/// </summary>
|
||
[SugarColumn(IsNullable = true)]
|
||
public long? TeamId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 报名时的来源团队名称快照
|
||
/// </summary>
|
||
[SugarColumn(Length = 64, IsNullable = true)]
|
||
public string? TeamName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 来源团队在当前项目组别下的队伍序号(1队、2队等)
|
||
/// </summary>
|
||
[SugarColumn(IsNullable = true)]
|
||
public int? TeamIndex { get; set; }
|
||
|
||
/// <summary>
|
||
/// 参赛项目名称
|
||
/// </summary>
|
||
[SugarColumn(Length = 128)]
|
||
public string ProjectName { get; set; }
|
||
|
||
/// <summary>
|
||
/// 项目类型名称
|
||
/// </summary>
|
||
[SugarColumn(Length = 64)]
|
||
public string ProjectTypeName { 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; }
|
||
|
||
/// <summary>
|
||
/// 关联的退款订单ID
|
||
/// </summary>
|
||
[SugarColumn(IsNullable = true)]
|
||
public long? RefundOrderId { 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>
|
||
public long? UpdatedUserId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 更新时间
|
||
/// </summary>
|
||
public DateTime? UpdatedTime { get; set; }
|
||
}
|