You can not 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
806 B

using SqlSugar;
namespace Entity.DbModel.System
{
/// <summary>
/// 系统角色菜单表
/// </summary>
[SugarTable("sys_role_menu")]
public class SysRoleMenu
{
/// <summary>
/// 主键id
/// </summary>
[SugarColumn(ColumnName = "id")]
public virtual long Id { get; set; }
/// <summary>
/// 角色Id
/// </summary>
[SugarColumn(ColumnName = "role_id")]
public long RoleId { get; set; }
/// <summary>
/// 菜单Id
/// </summary>
[SugarColumn(ColumnName = "menu_id")]
public long MenuId { get; set; }
/// <summary>
/// 菜单
/// </summary>
[SugarColumn(IsIgnore = true)]
public SysMenu SysMenu { get; set; }
}
}