using System;
using SqlSugar;
using System.ComponentModel;
using GDZZ.Core.Entity;
using GDZZ.Core;
namespace GDZZ.Application.Entity
{
///
/// 职位表
///
[SugarTable("mini_position")]
[Description("职位表")]
public class Position : DEntityBase
{
///
/// 职位名称
///
public string PositionName { get; set; }
///
/// 职位等级
///
public PositionEnum PositionLevel { get; set; }
///
/// 父级
///
public long ParentID { get; set; }
///
/// 父Ids
///
[SugarColumn(ColumnDescription = "父Ids", IsNullable = true)]
public string Pids { get; set; }
///
/// 排序
///
public int Sort { get; set; }
///
/// 状态(字典 0正常 1停用 2删除)
///
[SugarColumn(ColumnDescription = "状态(字典 0正常 1停用 2删除)")]
public CommonStatus Status { get; set; } = CommonStatus.ENABLE;
///
/// 唯一编码
///
public string Code { get; set; }
}
}