namespace Model
{
///
/// 岗位信息表 sys_post
///
[SugarTable("sys_post", "岗位信息表")]
[Tenant("0")]
public class SysPost
{
///
/// 岗位ID
///
[SugarColumn(ColumnDescription = "岗位ID", IsPrimaryKey = true, IsIdentity = true, ColumnName = "post_id")]
public long postId { get; set; }
///
/// 岗位编码
///
[SugarColumn(ColumnDescription = "岗位编码", Length = 64, ColumnName = "post_code")]
public string? postCode { get; set; }
///
/// 岗位名称
///
[SugarColumn(ColumnDescription = "岗位名称", Length = 50, ColumnName = "post_name")]
public string? postName { get; set; }
///
/// 岗位排序
///
[SugarColumn(ColumnDescription = "岗位排序", ColumnName = "post_sort")]
public int postSort { get; set; }
///
/// 岗位描述
///
[SugarColumn(ColumnDescription = "岗位描述", Length = 500, ColumnName = "remark")]
public string? remark { get; set; }
///
/// 是否删除 -1:已删除 0:正常
///
[SugarColumn(ColumnDescription = "是否删除 -1:已删除 0:正常", Length = 1, ColumnName = "del_flag")]
public string? DelFlag { get; set; }
///
/// 创建时间
///
[SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_time")]
public DateTime? CreateTime { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnDescription = "创建人", Length = 64, ColumnName = "create_by")]
public string? CreateBy { get; set; }
///
/// 更新时间
///
[SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_time")]
public DateTime? UpdateTime { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnDescription = "更新人", Length = 64, ColumnName = "update_by")]
public string? UpdateBy { get; set; }
}
}