using SqlSugar;
namespace MES.Service.Modes;
///
/// 部门
///
[SugarTable("SYS_DEPARTMENT")]
public class SysDepartment
{
///
///
[SugarColumn(ColumnName = "guid", IsPrimaryKey = true)]
public Guid Guid { get; set; }
///
/// 公司
///
[SugarColumn(ColumnName = "company")]
public string? Company { 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; }
///
/// 是否禁用 A 启用 B禁用
///
[SugarColumn(ColumnName = "depextr4")]
public string? Depextr4 { get; set; }
///
/// 部门扩展字段5
///
[SugarColumn(ColumnName = "depextr5")]
public string? Depextr5 { get; set; }
///
/// 车间ID
///
[SugarColumn(ColumnName = "workshop_no")]
public string? WorkshopNo { get; set; }
///
/// 车间名
///
[SugarColumn(ColumnName = "workshop_name")]
public string? WorkshopName { get; set; }
///
/// 部门经理
///
[SugarColumn(ColumnName = "fmanager")]
public string? Fmanager { get; set; }
///
/// 工厂
///
[SugarColumn(ColumnName = "factory")]
public string? Factory { 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 = "remark")]
public string? Remark { get; set; }
///
///
[SugarColumn(ColumnName = "id")]
public decimal Id { get; set; }
///
/// 生产车间
///
[SugarColumn(ColumnName = "production_workshop")]
public string? ProductionWorkshop { get; set; }
///
/// 物料属性
///
[SugarColumn(ColumnName = "material_properti")]
public string? MaterialProperti { get; set; }
///
/// 自定义字段4
///
[SugarColumn(ColumnName = "remark4")]
public string? Remark4 { get; set; }
///
/// 自定义字段5
///
[SugarColumn(ColumnName = "remark5")]
public string? Remark5 { get; set; }
///
/// 使用組織
///
[SugarColumn(ColumnName = "FSubsidiary")]
public string? FSubsidiary { get; set; }
///
/// 創建組織
///
[SugarColumn(ColumnName = "Fumbrella")]
public string? Fumbrella { get; set; }
///
/// 上级部门
///
[SugarColumn(ColumnName = "FParentID")]
public string? FParentID { get; set; }
[SugarColumn(IsIgnore = true)] public string? Type { get; set; }
}