59 lines
1.3 KiB
C#
59 lines
1.3 KiB
C#
#nullable enable
|
|
using YD_Event.Core.Enum;
|
|
|
|
namespace YD_Event.Core.Entities;
|
|
|
|
/// <summary>
|
|
/// 团队表
|
|
/// </summary>
|
|
[SugarTable("Team")]
|
|
public class Team : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime, IAvailability
|
|
{
|
|
/// <summary>
|
|
/// 团队名称
|
|
/// </summary>
|
|
[SugarColumn(Length = 64)]
|
|
public string Name { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
/// 团队简介
|
|
/// </summary>
|
|
[SugarColumn(Length = 512, IsNullable = true)]
|
|
public string? Introduction { get; set; }
|
|
|
|
/// <summary>
|
|
/// 成立时间
|
|
/// </summary>
|
|
public DateTime EstablishedDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 团队状态
|
|
/// </summary>
|
|
public AvailabilityStatus Status { 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; }
|
|
}
|