using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model.Sys
{
///
///角色和菜单关联表实体类
///
[Table("SysRoleMenu")]
[SugarTable("SysRoleMenu", "admin_sqlite")]
public class SysRoleMenu
{
///
/// ID
///
[Key]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required]
public int ID { get; set; }
///
/// 角色ID
///
public int? MenuID { get; set; }
///
/// 菜单ID
///
public int? RoleID { get; set; }
}
}