using SqlSugar;
namespace MES.Service.Modes;
///
/// 部门
///
[SugarTable("SYS_DEPARTMENT")]
public class SysDepartment
{
///
/// 公司
///
[SugarColumn(ColumnName = "COMPANY")]
public string? Company { get; set; }
///
/// 工厂
///
[SugarColumn(ColumnName = "FACTORY")]
public string? Factory { get; set; }
///
/// 部门ID
///
[SugarColumn(ColumnName = "DEPARTMENTID")]
public decimal? Departmentid { get; set; }
///
/// 部门编号
///
[SugarColumn(ColumnName = "DEPARTMENTCODE")]
public string? Departmentcode { get; set; }
///
/// 部门名称
///
[SugarColumn(ColumnName = "DEPARTMENTNAME")]
public string? Departmentname { get; set; }
///
/// 部门属性
///
[SugarColumn(ColumnName = "DEPEXTR1")]
public string? Depextr1 { get; set; }
///
/// 部门分组
///
[SugarColumn(ColumnName = "DEPEXTR2")]
public string? Depextr2 { get; set; }
///
/// WIP仓库
///
[SugarColumn(ColumnName = "DEPEXTR3")]
public string? Depextr3 { get; set; }
///
/// 是否禁用
///
[SugarColumn(ColumnName = "DEPEXTR4")]
public string? Depextr4 { get; set; }
///
/// 创建人
///
[SugarColumn(ColumnName = "CREATE_BY")]
public string? CreateBy { get; set; }
///
/// 创建日期
///
[SugarColumn(ColumnName = "CREATE_DATE")]
public DateTime? CreateDate { get; set; }
///
/// 最后修改人
///
[SugarColumn(ColumnName = "LASTUPDATE_BY")]
public string? LastupdateBy { get; set; }
///
/// 最后修改日期
///
[SugarColumn(ColumnName = "LASTUPDATE_DATE")]
public DateTime? LastupdateDate { get; set; }
///
/// 上级部门
///
[SugarColumn(ColumnName = "FParentID")]
public string? FParentID { get; set; }
///
/// 使用組織
///
[SugarColumn(ColumnName = "FSubsidiary")]
public string? FSubsidiary { get; set; }
///
/// 創建組織
///
[SugarColumn(ColumnName = "Fumbrella")]
public string? Fumbrella { get; set; }
///
///
[SugarColumn(ColumnName = "ID", IsPrimaryKey = true)]
public decimal Id { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
}