30 lines
691 B
C#
30 lines
691 B
C#
using Kurisu.SqlSugar;
|
|
using SqlSugar;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
/// <summary>
|
|
/// 部门
|
|
/// </summary>
|
|
[SugarTable(TableName = "Department", TableDescription = "部门")]
|
|
public class DepartmentEntity : SugarBaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 部门号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "部门号")]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 上级部门号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "上级部门号")]
|
|
public string PCode { get; set; }
|
|
|
|
/// <summary>
|
|
/// 部门名称
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "部门名称")]
|
|
public string Name { get; set; }
|
|
}
|