using SqlSugar;
using System;
namespace JiepeiWMS.Model.Models
{
///
/// 菜单与按钮关系表
///
public class ModulePermission : RootEntity
{
///
///获取或设置是否禁用,逻辑上的删除,非物理删除
///
[SugarColumn(IsNullable = true)]
public bool? IsDeleted { get; set; }
///
/// 菜单ID
///
public int ModuleId { get; set; }
///
/// 按钮ID
///
public int PermissionId { get; set; }
///
/// 创建ID
///
[SugarColumn(IsNullable = true)]
public int? CreateId { get; set; }
///
/// 创建者
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string CreateBy { get; set; }
///
/// 创建时间
///
[SugarColumn(IsNullable = true)]
public DateTime? CreateTime { get; set; }
///
/// 修改ID
///
[SugarColumn(IsNullable = true)]
public int? ModifyId { get; set; }
///
/// 修改者
///
[SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)]
public string ModifyBy { get; set; }
///
///修改时间
///
[SugarColumn(IsNullable = true)]
public DateTime? ModifyTime { get; set; }
//public virtual Module Module { get; set; }
//public virtual Permission Permission { get; set; }
}
}