不做码农 be515339fe ♻️代码重构
2023-09-02 17:55:34 +08:00

21 lines
576 B
C#

using Newtonsoft.Json;
using SqlSugar;
namespace ZR.Model.System
{
/// <summary>
/// 角色菜单
/// </summary>
[SugarTable("sys_role_menu", "角色菜单")]
[Tenant("0")]
public class SysRoleMenu : SysBase
{
[JsonProperty("roleId")]
[SugarColumn(IsPrimaryKey = true, ExtendedAttribute = ProteryConstant.NOTNULL)]
public long Role_id { get; set; }
[JsonProperty("menuId")]
[SugarColumn(IsPrimaryKey = true, ExtendedAttribute = ProteryConstant.NOTNULL)]
public long Menu_id { get; set; }
}
}