48 lines
1.0 KiB
C#
Raw Normal View History

2026-03-12 10:30:13 +08:00
#nullable enable
using YD_Event.Core.Enum;
namespace YD_Event.Core.Entities;
2026-03-22 19:40:30 +08:00
///
2026-03-12 10:30:13 +08:00
/// <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>
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; }
}