2024-06-07 11:04:26 +08:00
|
|
|
|
namespace ZR.Model.System
|
2021-08-23 16:57:25 +08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 用户角色关联表 用户N-1 角色
|
|
|
|
|
|
/// </summary>
|
2023-06-07 22:28:06 +08:00
|
|
|
|
[SugarTable("sys_user_role", "用户和角色关联表")]
|
2021-11-27 09:43:04 +08:00
|
|
|
|
[Tenant("0")]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public class SysUserRole
|
|
|
|
|
|
{
|
2023-05-04 18:20:18 +08:00
|
|
|
|
[SugarColumn(ColumnName = "user_id", IsPrimaryKey = true)]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public long UserId { get; set; }
|
|
|
|
|
|
|
2023-05-04 18:20:18 +08:00
|
|
|
|
[SugarColumn(ColumnName = "role_id", IsPrimaryKey = true)]
|
2021-08-23 16:57:25 +08:00
|
|
|
|
public long RoleId { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|