43 lines
941 B
C#
Raw Normal View History

2025-12-17 11:12:13 +08:00
namespace YD_Event.Core.Entities;
2025-12-17 10:32:52 +08:00
2026-08-17 00:14:48 +08:00
/// <summary>
/// 系统用户角色关联表
/// </summary>
2026-02-26 18:29:08 +08:00
public class SysUserRole : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
2025-12-17 10:32:52 +08:00
{
/// <summary>
2026-08-17 00:14:48 +08:00
/// 关联的系统用户ID
2025-12-17 10:32:52 +08:00
/// </summary>
public long UserId { get; set; }
/// <summary>
2026-08-17 00:14:48 +08:00
/// 关联的系统角色ID
2025-12-17 10:32:52 +08:00
/// </summary>
public long RoleId { get; set; }
2026-02-26 18:29:08 +08:00
/// <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; }
2026-08-17 00:14:48 +08:00
}