using SqlSugar;
namespace MES.Service.Modes;
///
/// 岗位信息
///
[SugarTable("MES_POSITION")]
public class MesPosition
{
///
///
[SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
public decimal Id { get; set; }
///
/// 岗位编号
///
[SugarColumn(ColumnName = "POSITION_ID")]
public string? PositionId { get; set; }
///
/// 岗位名称
///
[SugarColumn(ColumnName = "POSITION_NAME")]
public string? PositionName { get; set; }
///
/// 岗位描述
///
[SugarColumn(ColumnName = "POSITION_DESCRIPTION")]
public string? PositionDescription { get; set; }
///
/// 所属部门
///
[SugarColumn(ColumnName = "DEPARTMENT")]
public string? Department { get; set; }
///
/// 建立日期
///
[SugarColumn(ColumnName = "CREATION_DATE")]
public DateTime? CreationDate { get; set; }
///
/// 禁用人
///
[SugarColumn(ColumnName = "DISABLED_BY")]
public string? DisabledBy { get; set; }
///
/// 禁用日期
///
[SugarColumn(ColumnName = "DISABLED_DATE")]
public DateTime? DisabledDate { get; set; }
///
/// 禁用状态 A 启用 B禁用
///
[SugarColumn(ColumnName = "FFORBIDSTATUS")]
public string? Fforbidstatus { get; set; }
///
///
[SugarColumn(ColumnName = "REMARK1")]
public string? Remark1 { get; set; }
///
///
[SugarColumn(ColumnName = "REMARK2")]
public string? Remark2 { get; set; }
///
///
[SugarColumn(ColumnName = "REMARK3")]
public string? Remark3 { get; set; }
///
///
[SugarColumn(ColumnName = "REMARK4")]
public string? Remark4 { get; set; }
///
///
[SugarColumn(ColumnName = "REMARK5")]
public string? Remark5 { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
///
/// 接口字段调整:新增创建组织id和使用组织id字段。
///
///
/// 修改人:
/// <池南骏>
/// 修改日期:<2024-12-25>
/// 修改说明:
/// - 原代码:空
/// - 修改后:
/// [SugarColumn(ColumnName = "USE_ORG")]
/// public decimal? UseOrg { get; set; }
/// [SugarColumn(ColumnName = "CREATE_ORG")]
/// public decimal? CreateOrg { get; set; }
///
///
/// 使用组织
///
[SugarColumn(ColumnName = "CREATE_ORG")]
public decimal? CreateOrg { get; set; }
///
/// 创建组织
///
[SugarColumn(ColumnName = "USE_ORG")]
public decimal? UseOrg { get; set; }
///
/// 接口字段调整:新增 ERP数据状态。
///
///
/// 修改人:
/// <池南骏>
/// 修改日期:<2024-12-31>
/// 修改说明:
/// - 原代码:空
/// - 修改后:
///
///
/// ERP数据状态
///
[SugarColumn(ColumnName = "FDOCUMENTSTATUS")]
public string? FDOCUMENTSTATUS { get; set; }
}