SACenter/SA.Entity/zxdcrm_Models/BasPermission.cs

116 lines
3.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using System;
using System.Linq;
using System.Text;
using SqlSugar;
namespace SA.Entity.zxdcrm_Models
{
///<summary>
///
///</summary>
[SugarTable("bas_permission")]
public partial class BasPermission
{
public BasPermission(){
}
/// <summary>
/// Desc:菜单权限主键
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey=true,IsIdentity=true,ColumnName="id")]
public int Id {get;set;}
/// <summary>
/// Desc:父元素ID0无父元素
/// Default:0
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="prentid")]
public int? Prentid {get;set;}
/// <summary>
/// Desc:菜单名称
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="name")]
public string? Name {get;set;}
/// <summary>
/// Desc:图标:无则为空
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="icon")]
public string? Icon {get;set;}
/// <summary>
/// Desc:排序
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="sort")]
public int? Sort {get;set;}
/// <summary>
/// Desc:1:一级菜单 2二级菜单 3三级菜单 4四级菜单 类推
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="type")]
public int? Type {get;set;}
/// <summary>
/// Desc:0普通菜单 1隐藏菜单
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="ishidden")]
public int? Ishidden {get;set;}
/// <summary>
/// Desc:
/// Default:CURRENT_TIMESTAMP
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="ctime")]
public DateTime? Ctime {get;set;}
/// <summary>
/// Desc:添加工号
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="ceid")]
public int? Ceid {get;set;}
/// <summary>
/// Desc:0:正常 1禁用
/// Default:0
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="isforbidden")]
public int? Isforbidden {get;set;}
/// <summary>
/// Desc:编码
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="code")]
public string? Code {get;set;}
/// <summary>
/// Desc:地址
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName="url")]
public string? Url {get;set;}
}
}