You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
861 B
C#
35 lines
861 B
C#
using SqlSugar;
|
|
|
|
namespace EntrustSettle.Model.Models
|
|
{
|
|
/// <summary>
|
|
/// 按钮跟权限关联表
|
|
/// </summary>
|
|
public class RoleModulePermission : BaseEntity
|
|
{
|
|
public RoleModulePermission()
|
|
{
|
|
}
|
|
|
|
// 下边三个实体参数,只是做传参作用,所以忽略下
|
|
[SugarColumn(IsIgnore = true)]
|
|
public Role Role { get; set; }
|
|
[SugarColumn(IsIgnore = true)]
|
|
public Modules Module { get; set; }
|
|
|
|
/// <summary>
|
|
/// 角色ID
|
|
/// </summary>
|
|
public long RoleId { get; set; }
|
|
/// <summary>
|
|
/// 菜单ID
|
|
/// </summary>
|
|
public long ModuleId { get; set; }
|
|
/// <summary>
|
|
/// api ID
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true)]
|
|
public long PermissionId { get; set; }
|
|
}
|
|
}
|