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.

40 lines
862 B
C#

1 year ago
using SqlSugar;
namespace DS.WMS.Core.Sys.Entity;
1 year ago
/// <summary>
///
/// </summary>
11 months ago
[SqlSugar.SugarTable("sys_role_permission")]
1 year ago
public class SysRolePermission
{
public SysRolePermission()
{
this.Role = new SysRole();
this.Permission = new SysPermission();
}
/// <summary>
/// 角色ID
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
11 months ago
public long? RoleId { get; set; }
1 year ago
/// <summary>
/// 权限ID
/// </summary>
[SugarColumn(IsPrimaryKey = true)]
11 months ago
public long? PermissionId { get; set; }
1 year ago
/// <summary>
/// 是否有权限
/// 0 无 1 有
/// </summary>
public int IsPermission { get; set; }
[SugarColumn(IsIgnore = true)]
public virtual SysRole Role { get; set; }
[SugarColumn(IsIgnore = true)]
public virtual SysPermission Permission { get; set; }
}