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

82 lines
1.6 KiB
C#

1 year ago
using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model.Sys
{
///<summary>
///岗位信息表实体类
///</summary>
[Table("SysPost")]
[SugarTable("SysPost", "admin_sqlite")]
public class SysPost
{
/// <summary>
/// 岗位ID
/// </summary>
[Key]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required]
public int PostID { get; set; }
/// <summary>
/// 岗位编码
/// </summary>
public string PostCode { get; set; }
/// <summary>
/// 岗位名称
/// </summary>
public string PostName { get; set; }
/// <summary>
/// 显示顺序
/// </summary>
public int? PostSort { get; set; }
/// <summary>
/// 状态0正常 1停用
/// </summary>
public int? Status { get; set; }
/// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
/// <summary>
/// 创建者
/// </summary>
public string CreateBy { get; set; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// 更新者
/// </summary>
public string UpdateBy { get; set; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime? UpdateTime { get; set; }
}
}