| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154 |
- namespace Admin.NET.Plugin.AiDOP.WorkOrder;
- /// <summary>
- /// 工单信息表(mes_morder)
- /// </summary>
- [SugarTable("mes_morder", "工单主表", IsDisabledUpdateAll = true)]
- public class MesMorder
- {
- /// <summary>主键</summary>
- [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; }
- /// <summary>租户ID(多租户隔离)</summary>
- [SugarColumn(ColumnName = "tenant_id", IsNullable = true)]
- public long? TenantId { get; set; }
- }
|