You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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