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.

70 lines
1.4 KiB
C#

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.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model
{
///<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; }
}
}