first commit
This commit is contained in:
16
DOAN.Model/System/Model/SysUserRole.cs
Normal file
16
DOAN.Model/System/Model/SysUserRole.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace DOAN.Model.System
|
||||
{
|
||||
/// <summary>
|
||||
/// 用户角色关联表 用户N-1 角色
|
||||
/// </summary>
|
||||
[SugarTable("sys_user_role", "用户和角色关联表")]
|
||||
[Tenant("0")]
|
||||
public class SysUserRole : SysBase
|
||||
{
|
||||
[SugarColumn(ColumnName = "user_id", IsPrimaryKey = true)]
|
||||
public long UserId { get; set; }
|
||||
|
||||
[SugarColumn(ColumnName = "role_id", IsPrimaryKey = true)]
|
||||
public long RoleId { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user