57 lines
1.2 KiB
C#
57 lines
1.2 KiB
C#
|
|
#nullable enable
|
|||
|
|
using YD_Event.Core.Enum;
|
|||
|
|
|
|||
|
|
namespace YD_Event.Core.Entities;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 团队成员关联表
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("TeamMember")]
|
|||
|
|
public class TeamMember : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 团队ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long TeamId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 用户ID(关联AppUser)
|
|||
|
|
/// </summary>
|
|||
|
|
public long UserId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 团队角色
|
|||
|
|
/// </summary>
|
|||
|
|
public TeamRole Role { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 加入时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime JoinTime { 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; }
|
|||
|
|
}
|