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

29 lines
668 B
C#

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; }
}