using Business.Model;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace Bussiness.Model.SystemData
{
///
/// 岗位表
///
[Description("岗位表")]
public class sys_post: BaseEntity
{
///
/// 主键id
///
[Key]
[Description("主键id")]
public long post_id { get; set; }
///
/// 岗位编码
///
[StringLength(50)]
[Description("岗位编码")]
public string? post_code { get; set; }
///
/// 岗位名称
///
[StringLength(255)]
[Description("岗位名称")]
public string? post_name { get; set; }
///
/// 岗位备注
///
[StringLength(255)]
[Description("岗位备注")]
public string? post_remark { get; set; }
///
/// 岗位级别
///
[Description("岗位级别")]
public int? post_level { get; set; }
///
/// 岗位路径
///
[StringLength(255)]
[Description("岗位路径")]
public string? post_path { get; set; }
///
/// 岗位排序
///
[Description("岗位排序")]
public int? post_sort { get; set; }
///
/// 上级岗位
///
[Description("上级岗位")]
public long? parent_id { get; set; }
///
/// 部门id
///
[Description("部门id")]
public long? dept_id { get; set; }
///
/// 数据状态标识 1启用 0停用
///
[StringLength(255)]
[Description("数据状态标识 1启用 -1停用")]
[DefaultValue(true)]
public bool state { get; set; }
}
}