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.
40 lines
936 B
40 lines
936 B
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Entity.DbModel.System.SysBaseObject
|
|
{
|
|
/// <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; }
|
|
}
|
|
}
|