using SqlSugar;
using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
///
/// 赛事参与单位表
///
[SugarTable("EventUnit")]
public class EventUnit : Entity, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
{
///
/// 关联的赛事ID
///
public long EventId { get; set; }
///
/// 单位类型
///
public UnitType UnitType { get; set; }
///
/// 单位名称
///
[SugarColumn(Length = 128)]
public string UnitName { get; set; }
///
/// 单位LOGO URL
///
[SugarColumn(Length = 256, IsNullable = true)]
public string? LogoUrl { get; set; }
///
/// 排序
///
public int Sort { get; set; }
///
/// 标记删除
///
public bool DeleteMark { get; set; }
///
/// 创建人
///
public long CreatedUserId { get; set; }
///
/// 创建时间
///
public DateTime CreatedTime { get; set; }
///
/// 更新人
///
[SugarColumn(IsNullable = true)]
public long? UpdatedUserId { get; set; }
///
/// 更新时间
///
[SugarColumn(IsNullable = true)]
public DateTime? UpdatedTime { get; set; }
}