Files
jinko.yikatong/Src/Dlhis.Entity/Basic/Entity/DepartmentEntity.cs

30 lines
687 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 No { get; set; }
/// <summary>
/// 上级部门号
/// </summary>
[SugarColumn(ColumnDescription = "上级部门号")]
public string PNo { get; set; }
/// <summary>
/// 部门名称
/// </summary>
[SugarColumn(ColumnDescription = "部门名称")]
public string Name { get; set; }
}