using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TaskManager.Controllers { #region 基础数据 public interface IDoExecute { Task ExecuteAsync(); } /// /// 供应商基础信息:记录供应商的基本资料、联系方式、资质等信息 /// public class SupplierBaseInfo { } /// /// 人员资质信息:存储生产、质检等人员的资质证书、培训记录等 /// public class PersonnelQualificationInfo { } /// /// BOM主数据:物料清单,定义产品结构和组成关系 /// public class BOMMasterData { } /// /// 物料主数据:记录原材料、半成品、成品的基本属性和参数 /// public class MaterialMasterData { } /// /// 工艺装备:生产过程中使用的工具、模具、夹具等信息 /// public class ProcessEquipment { } /// /// 工艺:产品制造过程的工艺路线、参数和方法 /// public class ProcessTechnology { } #endregion #region 计划数据 /// /// 整车月度生产计划:月度整车生产数量、车型、时间安排等计划信息 /// public class MonthlyProductionPlan { /// /// 主键 /// public string id { get; set; } /// /// 需求发布版次:唯一版次ID /// public string releaseEdition { get; set; } /// /// 车型 /// public string models { get; set; } /// /// 销售单位 /// public string salseDepartment { get; set; } /// /// 类型 /// public string type { get; set; } /// /// 动力总成 /// public string assembly { get; set; } /// /// 版型 /// public string pattern { get; set; } /// /// 内饰 /// public string omterior { get; set; } /// /// 物料号 /// public string materialCode { get; set; } /// /// 起始月份-格式:yyyy-MM /// public string startMonth { get; set; } /// /// 数量1 /// public string quantity1 { get; set; } /// /// 数量2 /// public string quantity2 { get; set; } /// /// 数量3 /// public string quantity3 { get; set; } /// /// 数量4 /// public string quantity4 { get; set; } /// /// 数量5 /// public string quantity5 { get; set; } /// /// 数量6 /// public string quantity6 { get; set; } /// /// 工厂 /// public string plant { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// M+6月物料需求计划:未来6个月的物料需求预测和计划 /// public class MaterialRequirementPlanM6 { /// /// 主键 /// public string id { get; set; } /// /// 需求发布版次:唯一版次ID /// public string releaseEdition { get; set; } /// /// 零件号:奇瑞零件号 /// public string materialCode { get; set; } /// /// 零件名称 /// public string materialDescription { get; set; } /// /// 工厂代码 /// public string plantId { get; set; } /// /// 工厂名称 /// public string plantName { get; set; } /// /// 起始月份-格式:yyyy-MM /// public string startMonth { get; set; } /// /// 需求数量1 /// public string quantityDemand1 { get; set; } /// /// 需求数量2 /// public string quantityDemand2 { get; set; } /// /// 需求数量3 /// public string quantityDemand3 { get; set; } /// /// 需求数量4 /// public string quantityDemand4 { get; set; } /// /// 需求数量5 /// public string quantityDemand5 { get; set; } /// /// 需求数量6 /// public string quantityDemand6 { get; set; } /// /// 需求数量7 /// public string quantityDemand7 { get; set; } /// /// 需求数量8 /// public string quantityDemand8 { get; set; } /// /// 需求数量9 /// public string quantityDemand9 { get; set; } /// /// 需求数量10 /// public string quantityDemand10 { get; set; } /// /// 需求数量11 /// public string quantityDemand11 { get; set; } /// /// 需求数量12 /// public string quantityDemand12 { get; set; } /// /// 当文件夹数据发生变更时(更新需求=1/否则=0) /// public string isUpdate { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 日物料需求计划:每日生产所需的物料明细和数量计划 /// public class DailyMaterialRequirementPlan { /// /// 主键 /// public string id { get; set; } /// /// 需求发布版次:唯一版次ID /// public string releaseEdition { get; set; } /// /// 零件号:奇瑞零件号 /// public string materialCode { get; set; } /// /// 零件名称 /// public string materialDescription { get; set; } /// /// 工厂代码 /// public string plantId { get; set; } /// /// 工厂名称 /// public string plantName { get; set; } /// /// 起始月份-格式:yyyy-MM /// public string startMonth { get; set; } /// /// 需求数量1 (即需求起始日期的需求数量) /// public string quantityDemand1 { get; set; } /// /// 需求数量2(即需求起始日期+1天的需求数量 .) /// public string quantityDemand2 { get; set; } /// /// 需求数量3(即需求起始日期+2天的需求数量 .) /// public string quantityDemand3 { get; set; } /// /// 需求数量4 /// public string quantityDemand4 { get; set; } /// /// 需求数量5 /// public string quantityDemand5 { get; set; } /// /// 需求数量6 /// public string quantityDemand6 { get; set; } /// /// 需求数量7 /// public string quantityDemand7 { get; set; } /// /// 需求数量8 /// public string quantityDemand8 { get; set; } /// /// 需求数量9 /// public string quantityDemand9 { get; set; } /// /// 需求数量10 /// public string quantityDemand10 { get; set; } /// /// 需求数量11 /// public string quantityDemand11 { get; set; } /// /// 需求数量12 /// public string quantityDemand12 { get; set; } /// /// 需求数量13 /// public string quantityDemand13 { get; set; } /// /// 需求数量14 /// public string quantityDemand14 { get; set; } /// /// 需求数量15 /// public string quantityDemand15 { get; set; } /// /// 需求数量16 /// public string quantityDemand16 { get; set; } /// /// 需求数量17 /// public string quantityDemand17 { get; set; } /// /// 需求数量18 /// public string quantityDemand18 { get; set; } /// /// 需求数量19 /// public string quantityDemand19 { get; set; } /// /// 需求数量20 /// public string quantityDemand20 { get; set; } /// /// 需求数量21 /// public string quantityDemand21 { get; set; } /// /// 需求数量22 /// public string quantityDemand22 { get; set; } /// /// 需求数量23 /// public string quantityDemand23 { get; set; } /// /// 需求数量24 /// public string quantityDemand24 { get; set; } /// /// 需求数量25 /// public string quantityDemand25 { get; set; } /// /// 需求数量26 /// public string quantityDemand26 { get; set; } /// /// 需求数量27 /// public string quantityDemand27 { get; set; } /// /// 需求数量28 /// public string quantityDemand28 { get; set; } /// /// 需求数量29 /// public string quantityDemand29 { get; set; } /// /// 需求数量30 /// public string quantityDemand130 { get; set; } /// /// 需求数量31 /// public string quantityDemand31 { get; set; } /// /// 当文件夹数据发生变更时(更新需求=1/否则=0) /// public string isUpdate { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 计划协议:与供应商签订的长期采购框架协议 /// public class PlanningAgreement { /// /// 主键 /// public string id { get; set; } /// /// 计划协议号 /// public string scheduleAgreement { get; set; } /// /// 行项目号 /// public string serialNumber { get; set; } /// /// 零件号:奇瑞零件号 /// public string materialCode { get; set; } /// /// 零件名称 /// public string materialDescription { get; set; } /// /// 采购组 /// public string purchasingGroup { get; set; } /// /// 工厂代码 /// public string plantId { get; set; } /// /// 需求数量 /// public string quantityDemand { get; set; } /// /// 交货日期-格式:yyyy-MM-dd /// public string dateReceived { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 采购订单:向供应商发出的具体采购请求和合同 /// public class PurchaseOrder { /// /// 主键 /// public string id { get; set; } /// /// 采购订单号 /// public string purchaseOrder { get; set; } /// /// 行项目号 /// public string serialNumber { get; set; } /// /// 工厂代码 /// public string plantId { get; set; } /// /// 工厂名称 /// public string plantName { get; set; } /// /// 凭证日期-格式:yyyy-MM-dd /// public string voucherDate { get; set; } /// /// 需方联系人 /// public string purchaser { get; set; } /// /// 供方联系人 /// public string supplier { get; set; } /// /// 物料编码 /// public string materialCode { get; set; } /// /// 物料描述 /// public string materialDescription { get; set; } /// /// 需求数量 /// public string quantityDemand { get; set; } /// /// 物料单位 /// public string materialUnit { get; set; } /// /// 交货日期-格式:yyyy-MM-dd /// public string deliveryDate { get; set; } /// /// 交货地点 /// public string deliveryPlace { get; set; } /// /// 到货数量 /// public string quantityDelivery { get; set; } /// /// 备注:含批次号信息 /// public string note { get; set; } /// /// 项目类别文本 /// public string itemType { get; set; } /// /// 国际贸易条件 /// public string tradeTerms { get; set; } /// /// 出口国家 /// public string country { get; set; } /// /// 批次 /// public string batch { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } #endregion #region 生产过程数据 /// /// 来料检验数据:原材料到货检验的结果和记录 /// public class IncomingInspectionData { } /// /// 排产数据:生产任务的具体安排和调度信息 /// public class ProductionSchedulingData { } /// /// 过程控制项质量数据:生产过程中关键控制点的质量检测数据 /// public class ProcessControlQualityData { } /// /// 生产过程数据:记录产品生产过程中的工艺参数、设备状态等信息 /// public class ProductionProcessData { } /// /// 产品一次合格率:产品首次通过所有检验的比例数据 /// public class FirstPassYield { } /// /// 工位一次合格率:各个生产工位的首次通过率数据 /// public class WorkstationFirstPassYield { } /// /// 缺陷业务数据:产品生产过程中发现的缺陷类型、数量和处理情况 /// public class DefectBusinessData { } /// /// 环境业务数据:生产环境相关的数据,如温度、湿度、洁净度等 /// public class EnvironmentalBusinessData { } /// /// 设备OEE达成率:设备综合效率的达成情况和统计数据 /// public class EquipmentOEE { } /// /// OEE时间明细:设备OEE计算中的时间构成明细(运行、停机、空闲等) /// public class OEETimeDetails { } #endregion #region 物流配送数据 /// /// 过焊装未过总装:已完成焊装但尚未进入总装阶段的车辆信息 /// public class WeldingToAssemblyVehicles { /// /// 主键 /// public string id { get; set; } /// /// 车型 /// public string models { get; set; } /// /// VIN /// public string vin { get; set; } /// /// 产线代码 /// public string productionLineId { get; set; } /// /// 产线名称 /// public string productionLineName { get; set; } /// /// 物料编码 /// public string materialCode { get; set; } /// /// 物料描述 /// public string materialDescription { get; set; } /// /// 生产备注(报工类型) /// public string productionType { get; set; } /// /// 上线日期时间-格式:yyyy-MM-dd HH:mm:ss /// public string onLineTime { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 过涂装未过总装:已完成涂装但尚未进入总装阶段的车辆信息 /// public class PaintingToAssemblyVehicles { /// /// 主键 /// public string id { get; set; } /// /// 车型 /// public string models { get; set; } /// /// VIN /// public string vin { get; set; } /// /// 产线代码 /// public string productionLineId { get; set; } /// /// 产线名称 /// public string productionLineName { get; set; } /// /// 物料编码 /// public string materialCode { get; set; } /// /// 物料描述 /// public string materialDescription { get; set; } /// /// 上线日期时间-格式:yyyy-MM-dd HH:mm:ss /// public string onLineTime { get; set; } /// /// 总装车间 /// public string finalWorkshop { get; set; } /// /// 总装上线日期时间-格式:yyyy-MM-dd HH:mm:ss /// public string finalOnLineTime { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 排序供货:按照生产顺序进行物料供应的相关数据 /// public class SequencedSupply { /// /// 主键 /// public string id { get; set; } /// /// 车型 /// public string models { get; set; } /// /// VIN /// public string vin { get; set; } /// /// 产线代码 /// public string productionLineId { get; set; } /// /// 产线名称 /// public string productionLineName { get; set; } /// /// 物料编码 /// public string materialCode { get; set; } /// /// 物料描述 /// public string materialDescription { get; set; } /// /// 排序日期:时间格式 yyyy-MM-dd /// public string sortDate { get; set; } /// /// 排序时间:时间格式 HH:mm:ss /// public string sortTime { get; set; } /// /// 上线日期 /// public string onLineDate { get; set; } /// /// 上线时间:时间格式:20:34:12 /// public string onLineTime { get; set; } /// /// 车型类别 /// public string modelCategory { get; set; } /// /// 动力总成物料号 /// public string assemblyMaterialCode { get; set; } /// /// 发动机物料号 /// public string motorMaterialCode { get; set; } /// /// 工厂 /// public string plant { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 看板配送单:基于看板管理的物料配送单据和执行情况 /// public class KanbanDeliveryNote { /// /// 主键 /// public string id { get; set; } /// /// 配送单号 /// public string deliveryNumber { get; set; } /// /// 行项目号 /// public string serialNumber { get; set; } /// /// 配送单状态 /// public string serialSrate { get; set; } /// /// 零件号 /// public string materialCode { get; set; } /// /// 零件名称 /// public string materialDescription { get; set; } /// /// 物料描述 /// public string materialDescription { get; set; } /// /// 工厂代码 /// public string plantId { get; set; } /// /// 收货道口 /// public string receivingCrossings { get; set; } /// /// 数量 /// public string quantityDelivery { get; set; } /// /// 创建时间-格式:yyyy-MM-dd HH:mm:ss /// public string dataCreateTime { get; set; } /// /// 供应商接收时间-格式:yyyy-MM-dd HH:mm:ss /// public string supplierReceiveTime { get; set; } /// /// 道口发货时间-格式:yyyy-MM-dd HH:mm:ss /// public string roadShippedTime { get; set; } /// /// 道口收货时间-格式:yyyy-MM-dd HH:mm:ss /// public string roadReceiveTime { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 退货单:记录不合格品或多余物料退回供应商的单据 /// public class ReturnGoodsNote { /// /// 主键 /// public string id { get; set; } /// /// 退货单号 /// public string returnNumber { get; set; } /// /// 行项目号 /// public string serialNumber { get; set; } /// /// 退货单状态 /// public string serialSrate { get; set; } /// /// 取货地 /// public string pickUpLocation { get; set; } /// /// 需求取货时间:格式:yyyy-MM-dd HH:mm:ss /// public string demandPickupTime { get; set; } /// /// 取货道口 /// public string pickUpCrossings { get; set; } /// /// 反馈信息:供应商在LES系统反馈的信息 /// public string feedback { get; set; } /// /// 工厂:示例:1000-奇瑞汽车超一工厂 /// public string plant { get; set; } /// /// 零件号 /// public string materialCode { get; set; } /// /// 零件名称 /// public string materialDescription { get; set; } /// /// 数量 /// public string quantityDelivery { get; set; } /// /// 退货类型:0-不合格品;1-合格品 /// public string returnType { get; set; } /// /// 批次号 /// public string lotNumber { get; set; } /// /// 判定人 /// public string judge { get; set; } /// /// 退货原因 /// public string returnReason { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 奇瑞RDC共享库存:奇瑞区域配送中心的共享库存信息 /// public class CheryRDCSharedInventory { /// /// 主键 /// public string id { get; set; } /// /// 工厂代码 /// public string plantId { get; set; } /// /// 工厂名称 /// public string plantName { get; set; } /// /// 零件号 /// public string materialCode { get; set; } /// /// 零件名称 /// public string materialDescription { get; set; } /// /// 当前库存数量 /// public string quantityCurrent { get; set; } /// /// 库存状态 /// public string stockState { get; set; } /// /// 更新时间:格式:yyyy-MM-dd HH:mm:ss /// public string dataUpdateTime { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 日MRP状态监控:每日物料需求计划的执行状态和监控数据 /// public class DailyMRPStatusMonitoring { /// /// 主键 /// public string id { get; set; } /// /// 工厂代码 /// public string plantId { get; set; } /// /// 工厂名称 /// public string plantName { get; set; } /// /// 需求状态 /// public string demandSrate { get; set; } /// /// 需求类型 /// public string demandType { get; set; } /// /// 零件号:奇瑞零件号 /// public string materialCode { get; set; } /// /// 零件名称 /// public string materialDescription { get; set; } /// /// 集货标识 /// public string summarySign { get; set; } /// /// 需求日期-格式:yyyy-MM-dd /// public string dateRequired { get; set; } /// /// 需求数量 /// public string quantityDemand { get; set; } /// /// 需求确认时间 /// public string confirmTime { get; set; } /// /// 已建单数量 /// public string creatQuantity { get; set; } /// /// 已发货数量 /// public string quantityDelivery { get; set; } /// /// 已收货数量 /// public string quantityReceive { get; set; } /// /// 在途数量 /// public string quantityInTransit { get; set; } /// /// 按时到货比 /// public string onTimePercentage { get; set; } /// /// 集货件已建单数量 /// public string summaryCreatQuantity { get; set; } /// /// 集货件已发货数量 /// public string summaryQuantityDelivery { get; set; } /// /// 集货件已收货数量 /// public string summaryQuantityReceive { get; set; } /// /// 集货件已在途数量 /// public string summaryQuantityInTransit { get; set; } /// /// 创建人 /// public string createByUser { get; set; } /// /// 创建时间 /// public string createTime { get; set; } /// /// 修改人 /// public string updateByUser { get; set; } /// /// 修改时间 /// public string updateTime { get; set; } /// /// 是否删除(0:否,1是) /// public string isDelete { get; set; } /// /// 版本号 /// public string version { get; set; } } /// /// 日MRP预警推移:每日物料需求计划的预警情况和趋势分析 /// public class DailyMRPWarningTrend { } /// /// 供应商共享库存-上午:供应商共享库存的上午时点数据 /// public class SupplierSharedInventoryMorning { } /// /// 供应商共享库存-晚上:供应商共享库存的晚上时点数据 /// public class SupplierSharedInventoryEvening { } #endregion #region 其他数据 /// /// 附件类数据:与生产过程相关的文档、图片、图纸等附件信息 /// public class AttachmentData { } #endregion }