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.
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
|
|
|
|
|
|
|
namespace CompressorXN_Model
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 菜单-角色关联关系表
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarTable("sys_menu_role")]
|
|
|
|
|
|
public class Sys_Menu_Role : BaseModel
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 菜单编码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "menu_code")]
|
|
|
|
|
|
public string MenuCode { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 角色编码
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "role_code")]
|
|
|
|
|
|
public string RoleCode { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 数据状态
|
|
|
|
|
|
/// 1—可用,0—不可用
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[SugarColumn(ColumnName = "isactive")]
|
|
|
|
|
|
public bool IsActive { get; set; } = true;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|