68 lines
1.8 KiB
C#
68 lines
1.8 KiB
C#
using System;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using SqlSugar;
|
|
|
|
namespace SA.Entity.zxdcrm_Models
|
|
{
|
|
///<summary>
|
|
///
|
|
///</summary>
|
|
[SugarTable("bas_role_permission")]
|
|
public partial class BasRolePermission
|
|
{
|
|
public BasRolePermission(){
|
|
|
|
|
|
}
|
|
/// <summary>
|
|
/// Desc:角色ID
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey=true,ColumnName="rid")]
|
|
public int Rid {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:权限ID
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey=true,ColumnName="pid")]
|
|
public int Pid {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:角色名称(冗余字段,便于查看)
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="rname")]
|
|
public string? Rname {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:权限CODE
|
|
/// Default:
|
|
/// Nullable:False
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="code")]
|
|
public string Code {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:权限名称(冗余字段,便于查看)
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="pname")]
|
|
public string? Pname {get;set;}
|
|
|
|
/// <summary>
|
|
/// Desc:子工具栏权限
|
|
/// Default:
|
|
/// Nullable:True
|
|
/// </summary>
|
|
[SugarColumn(ColumnName="toolbaravlue")]
|
|
public int? Toolbaravlue {get;set;}
|
|
|
|
}
|
|
}
|