52 lines
1.1 KiB
C#
52 lines
1.1 KiB
C#
using SqlSugar;
|
|
|
|
namespace YD_Event.Core.Entities;
|
|
|
|
/// <summary>
|
|
/// 赛事自定义字段表
|
|
/// </summary>
|
|
[SugarTable("EventCustomField")]
|
|
public class EventCustomField : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
|
|
{
|
|
/// <summary>
|
|
/// 赛事ID
|
|
/// </summary>
|
|
public long EventId { get; set; }
|
|
|
|
/// <summary>
|
|
/// 字段名称
|
|
/// </summary>
|
|
[SugarColumn(Length = 128)]
|
|
public string FieldName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public int Sort { 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; }
|
|
}
|