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
|
|
|
|
|
{
|
2026-04-13 13:23:00 +08:00
|
|
|
/// <summary>
|
|
|
|
|
/// 关联的单位认证ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(IsNullable = true)]
|
|
|
|
|
public long? MerchantCertificationId { get; set; }
|
|
|
|
|
|
2026-03-12 10:30:13 +08:00
|
|
|
/// <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; }
|
|
|
|
|
}
|