35 lines
850 B
C#
35 lines
850 B
C#
using SqlSugar;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace New_College.Model.Models
|
|
{
|
|
/// <summary>
|
|
/// 菜单与按钮关系表
|
|
/// </summary>
|
|
public class ModulePermission : RootEntity
|
|
{
|
|
|
|
/// <summary>
|
|
///获取或设置是否禁用,逻辑上的删除,非物理删除
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = true)]
|
|
public bool? IsDeleted { get; set; }
|
|
/// <summary>
|
|
/// 菜单ID
|
|
/// </summary>
|
|
public int ModuleId { get; set; }
|
|
/// <summary>
|
|
/// 按钮ID
|
|
/// </summary>
|
|
public int PermissionId { get; set; }
|
|
|
|
|
|
//public virtual Module Module { get; set; }
|
|
//public virtual Permission Permission { get; set; }
|
|
}
|
|
}
|