namespace Admin.NET.Plugin.AiDOP.WorkOrder;
///
/// 工单信息表(mes_morder)
///
[SugarTable("mes_morder", "工单主表", IsDisabledUpdateAll = true)]
public class MesMorder
{
/// 主键
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true)]
public long Id { get; set; }
[SugarColumn(ColumnName = "parent_id", IsNullable = true)]
public long? ParentId { get; set; }
[SugarColumn(ColumnName = "relation_moid", IsNullable = true)]
public long? RelationMoid { get; set; }
[SugarColumn(ColumnName = "relation_mono", Length = 128, IsNullable = true)]
public string? RelationMono { get; set; }
[SugarColumn(ColumnName = "morder_no", Length = 128, IsNullable = true)]
public string? MorderNo { get; set; }
[SugarColumn(ColumnName = "morder_type", Length = 64, IsNullable = true)]
public string? MorderType { get; set; }
[SugarColumn(ColumnName = "morder_icitem_type", Length = 64, IsNullable = true)]
public string? MorderIcitemType { get; set; }
[SugarColumn(ColumnName = "work_order_type", Length = 64, IsNullable = true)]
public string? WorkOrderType { get; set; }
[SugarColumn(ColumnName = "morder_date", IsNullable = true)]
public DateTime? MorderDate { get; set; }
[SugarColumn(ColumnName = "morder_state", Length = 32, IsNullable = true)]
public string? MorderState { get; set; }
[SugarColumn(ColumnName = "moentry_prd", IsNullable = true)]
public long? MoentryPrd { get; set; }
[SugarColumn(ColumnName = "moentry_prdname", Length = 256, IsNullable = true)]
public string? MoentryPrdname { get; set; }
[SugarColumn(ColumnName = "moentry_wrkc", IsNullable = true)]
public long? MoentryWrkc { get; set; }
[SugarColumn(ColumnName = "moentry_wrkcname", Length = 256, IsNullable = true)]
public string? MoentryWrkcname { get; set; }
[SugarColumn(ColumnName = "planner_num", Length = 64, IsNullable = true)]
public string? PlannerNum { get; set; }
[SugarColumn(ColumnName = "planner_name", Length = 128, IsNullable = true)]
public string? PlannerName { get; set; }
[SugarColumn(ColumnName = "moentry_stime", IsNullable = true)]
public DateTime? MoentryStime { get; set; }
[SugarColumn(ColumnName = "moentry_etime", IsNullable = true)]
public DateTime? MoentryEtime { get; set; }
[SugarColumn(ColumnName = "moentry_sys_stime", IsNullable = true)]
public DateTime? MoentrySysStime { get; set; }
[SugarColumn(ColumnName = "moentry_sys_etime", IsNullable = true)]
public DateTime? MoentrySysEtime { get; set; }
[SugarColumn(ColumnName = "reality_start_time", IsNullable = true)]
public DateTime? RealityStartTime { get; set; }
[SugarColumn(ColumnName = "reality_end_time", IsNullable = true)]
public DateTime? RealityEndTime { get; set; }
[SugarColumn(ColumnName = "product_code", Length = 128, IsNullable = true)]
public string? ProductCode { get; set; }
[SugarColumn(ColumnName = "product_name", Length = 256, IsNullable = true)]
public string? ProductName { get; set; }
[SugarColumn(ColumnName = "fms_number", Length = 128, IsNullable = true)]
public string? FmsNumber { get; set; }
[SugarColumn(ColumnName = "fmodel", Length = 256, IsNullable = true)]
public string? Fmodel { get; set; }
[SugarColumn(ColumnName = "bom_number", Length = 128, IsNullable = true)]
public string? BomNumber { get; set; }
[SugarColumn(ColumnName = "unit", Length = 32, IsNullable = true)]
public string? Unit { get; set; }
[SugarColumn(ColumnName = "morder_progress", IsNullable = true)]
public decimal? MorderProgress { get; set; }
[SugarColumn(ColumnName = "morder_production_number", IsNullable = true)]
public decimal? MorderProductionNumber { get; set; }
[SugarColumn(ColumnName = "need_number", IsNullable = true)]
public decimal? NeedNumber { get; set; }
[SugarColumn(ColumnName = "work_number", IsNullable = true)]
public decimal? WorkNumber { get; set; }
[SugarColumn(ColumnName = "inspection_number", IsNullable = true)]
public decimal? InspectionNumber { get; set; }
[SugarColumn(ColumnName = "qualified_number", IsNullable = true)]
public decimal? QualifiedNumber { get; set; }
[SugarColumn(ColumnName = "inventory_number", IsNullable = true)]
public decimal? InventoryNumber { get; set; }
[SugarColumn(ColumnName = "MaterialSituation", Length = 128, IsNullable = true)]
public string? MaterialSituation { get; set; }
[SugarColumn(ColumnName = "urgent", IsNullable = true)]
public int? Urgent { get; set; }
[SugarColumn(ColumnName = "create_by", IsNullable = true)]
public long? CreateBy { get; set; }
[SugarColumn(ColumnName = "create_by_name", Length = 128, IsNullable = true)]
public string? CreateByName { get; set; }
[SugarColumn(ColumnName = "create_time", IsNullable = true)]
public DateTime? CreateTime { get; set; }
[SugarColumn(ColumnName = "update_by", IsNullable = true)]
public long? UpdateBy { get; set; }
[SugarColumn(ColumnName = "update_by_name", Length = 128, IsNullable = true)]
public string? UpdateByName { get; set; }
[SugarColumn(ColumnName = "update_time", IsNullable = true)]
public DateTime? UpdateTime { get; set; }
[SugarColumn(ColumnName = "IsDeleted", IsNullable = true)]
public int? IsDeleted { get; set; }
[SugarColumn(ColumnName = "factory_id", Length = 64, IsNullable = true)]
public string? FactoryId { get; set; }
[SugarColumn(ColumnName = "org_id", IsNullable = true)]
public long? OrgId { get; set; }
[SugarColumn(ColumnName = "company_id", IsNullable = true)]
public long? CompanyId { get; set; }
/// 租户ID(多租户隔离)
[SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
public long? TenantId { get; set; }
}