From 196dfa7dd490929f96f4f6758644ca1f601fab12 Mon Sep 17 00:00:00 2001 From: zhouhongjun <565221961@qq.com> Date: Wed, 28 May 2025 15:23:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=9A=E5=8A=A1=E5=AE=9E?= =?UTF-8?q?=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entitys/01_09/SupplierBom.cs | 99 +++++++ .../Entitys/01_09/SupplierEmployee.cs | 109 ++++++++ .../Entitys/01_09/SupplierInfo.cs | 104 +++++++ .../Entitys/01_09/SupplierProCps.cs | 254 ++++++++++++++++++ .../Entitys/01_09/SupplierProMaterialStock.cs | 164 +++++++++++ .../Entitys/01_09/SupplierProScheduling.cs | 109 ++++++++ .../Entitys/10_17/Class1.cs | 12 + .../TaskManager.Entity.csproj | 1 - 8 files changed, 851 insertions(+), 1 deletion(-) create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierBom.cs create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierEmployee.cs create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierInfo.cs create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierProCps.cs create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierProMaterialStock.cs create mode 100644 API/TaskManager.Entity/Entitys/01_09/SupplierProScheduling.cs create mode 100644 API/TaskManager.Entity/Entitys/10_17/Class1.cs diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierBom.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierBom.cs new file mode 100644 index 0000000..3900019 --- /dev/null +++ b/API/TaskManager.Entity/Entitys/01_09/SupplierBom.cs @@ -0,0 +1,99 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TaskManager.Entity +{ + /// + /// BOM主数据 + /// + public class SupplierBom + { + /// + /// 供应商代码 + /// + public string SupplierCode { get; set; } + + /// + /// 供应商名称 + /// + public string SupplierName { get; set; } + + /// + /// BOM编码 + /// + public string BomCode { get; set; } + + /// + /// BOM名称 + /// + public string BomName { get; set; } + + /// + /// BOM版本 + /// + public string BomVersion { get; set; } + + /// + /// 奇瑞零件号 + /// + public string CheryProductNo { get; set; } + + /// + /// 奇瑞零件名称 + /// + public string CheryProductName { get; set; } + + /// + /// 供应商父件编码 + /// + public string VendorProductNo { get; set; } + + /// + /// 供应商父件名称 + /// + public string VendorProductName { get; set; } + + /// + /// 父件类型(成品, 半成品) + /// + public string VendorProductType { get; set; } + + /// + /// 父件单位 + /// + public string MaterialUnit { get; set; } + + /// + /// 子件编码 + /// + public string SubMaterialCode { get; set; } + + /// + /// 子件名称 + /// + public string SubMaterialName { get; set; } + + /// + /// 子件类型(半成品, 原材料) + /// + public string SubMaterialType { get; set; } + + /// + /// 子件单位 + /// + public string SubMaterialUnit { get; set; } + + /// + /// 子件用量 + /// + public decimal SubMaterialQuota { get; set; } + + /// + /// BOM变更时间,格式(yyyy-MM-dd HH:mm:ss) + /// + public DateTime DataUpdateTime { get; set; } + } +} diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierEmployee.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierEmployee.cs new file mode 100644 index 0000000..c38cbe1 --- /dev/null +++ b/API/TaskManager.Entity/Entitys/01_09/SupplierEmployee.cs @@ -0,0 +1,109 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TaskManager.Entity +{ + /// + /// 人员资质信息 + /// + public class SupplierEmployee + { + /// + /// 供应商代码 + /// + public string SupplierCode { get; set; } + + /// + /// 供应商名称 + /// + public string SupplierName { get; set; } + + /// + /// 工厂代码 + /// + public string PlantId { get; set; } + + /// + /// 工厂名称 + /// + public string PlantName { get; set; } + + /// + /// 车间代码 + /// + public string WorkshopId { get; set; } + + /// + /// 车间名称 + /// + public string WorkshopName { get; set; } + + /// + /// 产线代码 + /// + public string ProductionLineId { get; set; } + + /// + /// 产线名称 + /// + public string ProductionLineName { get; set; } + + /// + /// 工位代码 + /// + public string StationId { get; set; } + + /// + /// 工位名称 + /// + public string StationName { get; set; } + + /// + /// 工位人员账号 + /// + public string OperatorId { get; set; } + + /// + /// 工位人员姓名 + /// + public string OperatorName { get; set; } + + /// + /// 是否有资质(Y,N) + /// + public bool HaveQuantity { get; set; } + + /// + /// 供应商修改时间,格式(yyyy-MM-dd HH:mm:ss) + /// + public DateTime DataUpdateTime { get; set; } + + /// + /// 岗位代码 + /// + public string PositionId { get; set; } + + /// + /// 岗位名称 + /// + public string PositionName { get; set; } + + /// + /// 资质等级(Level_4,Level_3,Level_2, Level_1) + /// + public string QualificationLevel { get; set; } + + /// + /// 资质获取时间 + /// + public DateTime CheckInTime { get; set; } + + /// + /// 资质失去时间 + /// + public DateTime CheckOutTime { get; set; } + } +} diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierInfo.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierInfo.cs new file mode 100644 index 0000000..a466fe8 --- /dev/null +++ b/API/TaskManager.Entity/Entitys/01_09/SupplierInfo.cs @@ -0,0 +1,104 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TaskManager.Entity +{ + /// + /// 供应商基础信息 + /// + public class SupplierInfo + { + /// + /// 供应商代码 + /// + public string SupplierCode { get; set; } + + /// + /// 供应商名称 + /// + public string SupplierName { get; set; } + + /// + /// 工厂代码 + /// + public string PlantId { get; set; } + + /// + /// 工厂名称 + /// + public string PlantName { get; set; } + + /// + /// 车间代码 + /// + public string WorkshopId { get; set; } + + /// + /// 车间名称 + /// + public string WorkshopName { get; set; } + + /// + /// 产线代码 + /// + public string ProductionLineId { get; set; } + + /// + /// 产线名称 + /// + public string ProductionLineName { get; set; } + + /// + /// 工位代码 + /// + public string StationId { get; set; } + + /// + /// 工位名称 + /// + public string StationName { get; set; } + + /// + /// 是否关键工位(Y/N) + /// + public bool KeyStation { get; set; } + + /// + /// 供应商修改时间,格式(yyyy-MM-dd HH:mm:ss) + /// + public DateTime DataUpdateTime { get; set; } + + /// + /// 产线顺序 + /// + public int ProductionLineOrder { get; set; } + + /// + /// 工位顺序 + /// + public int StationOrder { get; set; } + + /// + /// 供应商总成零件号 + /// + public string VendorProductNo { get; set; } + + /// + /// 供应商总成零件名称 + /// + public string VendorProductName { get; set; } + + /// + /// 奇瑞零件号 + /// + public string CheryProductNo { get; set; } + + /// + /// 奇瑞零件名称 + /// + public string CheryProductName { get; set; } + } +} diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierProCps.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierProCps.cs new file mode 100644 index 0000000..50578f4 --- /dev/null +++ b/API/TaskManager.Entity/Entitys/01_09/SupplierProCps.cs @@ -0,0 +1,254 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TaskManager.Entity +{ + /// + /// 过程控制项质量数据 + /// + public class SupplierProCps + { + /// + /// 供应商代码 + /// + public string SupplierCode { get; set; } + + /// + /// 供应商名称 + /// + public string SupplierName { get; set; } + + /// + /// 供应商总成零件号 + /// + public string VendorProductNo { get; set; } + + /// + /// 供应商总成零件名称 + /// + public string VendorProductName { get; set; } + + /// + /// 供应商总成SN码 + /// + public string VendorProductSn { get; set; } + + /// + /// 供应商总成批次号 + /// + public string VendorProductBatch { get; set; } + + /// + /// 奇瑞零件号 + /// + public string CheryProductNo { get; set; } + + /// + /// 奇瑞零件名称 + /// + public string CheryProductName { get; set; } + + /// + /// 奇瑞SN码 + /// + public string CheryProductSn { get; set; } + + /// + /// 生产批次号 + /// + public string ProductBatchNo { get; set; } + + /// + /// 生产工单号 + /// + public string ManufactureNo { get; set; } + + /// + /// 工厂代码 + /// + public string PlantId { get; set; } + + /// + /// 工厂名称 + /// + public string PlantName { get; set; } + + /// + /// 车间代码 + /// + public string WorkshopId { get; set; } + + /// + /// 车间名称 + /// + public string WorkshopName { get; set; } + + /// + /// 产线代码 + /// + public string ProductionLineId { get; set; } + + /// + /// 产线名称 + /// + public string ProductionLineName { get; set; } + + /// + /// 工位代码 + /// + public string StationId { get; set; } + + /// + /// 工位名称 + /// + public string StationName { get; set; } + + /// + /// 工位人员编号 + /// + public string EmpCode { get; set; } + + /// + /// 工位人员姓名 + /// + public string EmpName { get; set; } + + /// + /// 控制项名称 + /// + public string VendorFieldName { get; set; } + + /// + /// 控制项代码 + /// + public string VendorFieldCode { get; set; } + + /// + /// 控制项点位 + /// + public string GatherSpot { get; set; } + + /// + /// 控制项要求频率 + /// + public decimal SamplingRate { get; set; } + + /// + /// 上下限更新时间,格式(yyyy-MM-dd HH:mm:ss) + /// + public string LimitUpdateTime { get; set; } + + /// + /// 控制项描述 + /// + public string VendorFieldDesc { get; set; } + + /// + /// 载体编码 + /// + public string CarrierCode { get; set; } + + /// + /// 投入数量 + /// + public decimal IntputQty { get; set; } + + /// + /// 一次合格数量 + /// + public decimal FttQty { get; set; } + + /// + /// 参数 , 是传Y,否传N + /// + public string Parameter { get; set; } + + /// + /// 特性 , 是传Y,否传N + /// + public string Characteristic { get; set; } + + /// + /// CC项 , 是传Y,否传N + /// + public string Cc { get; set; } + + /// + /// SC项 , 是传Y,否传N + /// + public string Sc { get; set; } + + /// + /// SPC , 是传Y,否传N + /// + public string Spc { get; set; } + + /// + /// 控制项标准值 + /// + public string StandardValue { get; set; } + + /// + /// 控制项上限 + /// + public decimal UpperLimit { get; set; } + + /// + /// 控制项下限 + /// + public decimal LowerLimit { get; set; } + + /// + /// 控制项实测值 + /// + public decimal DecimalValue { get; set; } + + /// + /// 控制项值的单位名称-中文 + /// + public string UnitCn { get; set; } + + /// + /// 控制项单位英文 + /// + public string UnitEn { get; set; } + + /// + /// 检测结果 + /// + public string CheckResult { get; set; } + + /// + /// 在线检测(inline,offline,both) + /// + public string DetectionMode { get; set; } + + /// + /// 班次(白班,晚班,中班) + /// + public string WorkShift { get; set; } + + /// + /// 采集时间,格式(yyyy-MM-dd HH:mm:ss) + /// + public string CollectTime { get; set; } + + /// + /// 检测方式(人工,设备) + /// + public string CheckMode { get; set; } + + /// + /// 检测设备编号 + /// + public string DeviceCode { get; set; } + + /// + /// 检测设备名称 + /// + public string DeviceName { get; set; } + } +} diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierProMaterialStock.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierProMaterialStock.cs new file mode 100644 index 0000000..93cee45 --- /dev/null +++ b/API/TaskManager.Entity/Entitys/01_09/SupplierProMaterialStock.cs @@ -0,0 +1,164 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TaskManager.Entity +{ + /// + /// 来料检验数据 + /// + public class SupplierProMaterialStock + { + /// + /// 供应商代码 + /// + public string SupplierCode { get; set; } + + /// + /// 供应商名称 + /// + public string SupplierName { get; set; } + + /// + /// 供应商子零件编号 + /// + public string SupplierSubCode { get; set; } + + /// + /// 供应商子零件名称 + /// + public string SupplierSubName { get; set; } + + /// + /// 分供方代码 + /// + public string SubSupplierCode { get; set; } + + /// + /// 分供方名称 + /// + public string SubSupplierName { get; set; } + + /// + /// 分供方地址,分供方发货地址:省市区(县),不用于详细地址 + /// + public string SubSupplierAddress { get; set; } + + /// + /// 分供方子件编码 + /// + public string ComponentCode { get; set; } + + /// + /// 分供方子件名称 + /// + public string ComponentName { get; set; } + + /// + /// 子件批次号 + /// + public string SubBatchNo { get; set; } + + /// + /// 子件批次数量 + /// + public decimal SubBatchNum { get; set; } + + /// + /// 子件SN码 + /// + public string SubBatchSn { get; set; } + + /// + /// 检验人员编号 + /// + public string EmpCode { get; set; } + + /// + /// 检验人员姓名 + /// + public string EmpName { get; set; } + + /// + /// 检测设备编号 + /// + public string DeviceCode { get; set; } + + /// + /// 检测设备名称 + /// + public string DeviceName { get; set; } + + /// + /// 参数名称/特性名称 + /// + public string FeatureName { get; set; } + + /// + /// 参数单位/特性单位 + /// + public string FeatureUnit { get; set; } + + /// + /// 参数/特性标准值 + /// + public string StandardValue { get; set; } + + /// + /// 参数/特性上限值 + /// + public string FeatureUpper { get; set; } + + /// + /// 参数/特性下限值 + /// + public string FeatureLower { get; set; } + + /// + /// 参数/特性实测值 + /// + public string FeatureValue { get; set; } + + /// + /// 来料检验单号 + /// + public string CheckNo { get; set; } + + /// + /// 批次的最终判定结果,OK合格/NG不合格 + /// + public string CheckResult { get; set; } + + /// + /// 检验时间,格式(yyyy-MM-dd HH:mm:ss) + /// + public DateTime CheckTime { get; set; } + + /// + /// 控制项要求频率 + /// + public decimal SamplingRate { get; set; } + + /// + /// 上下限更新时间,格式(yyyy-MM-dd HH:mm:ss) + /// + public string LimitUpdateTime { get; set; } + + /// + /// 控制项描述 + /// + public string VendorFieldDesc { get; set; } + + /// + /// 控制项代码 + /// + public string VendorFieldCode { get; set; } + + /// + /// 库存有效日期,格式(yyyy-MM-dd HH:mm:ss) + /// + public DateTime DeadLine { get; set; } + } +} diff --git a/API/TaskManager.Entity/Entitys/01_09/SupplierProScheduling.cs b/API/TaskManager.Entity/Entitys/01_09/SupplierProScheduling.cs new file mode 100644 index 0000000..669d950 --- /dev/null +++ b/API/TaskManager.Entity/Entitys/01_09/SupplierProScheduling.cs @@ -0,0 +1,109 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TaskManager.Entity +{ + /// + /// 排产数据 + /// + public class SupplierProScheduling + { + /// + /// 供应商代码 + /// + public string SupplierCode { get; set; } + + /// + /// 供应商名称 + /// + public string SupplierName { get; set; } + + /// + /// 工厂代码 + /// + public string PlantId { get; set; } + + /// + /// 工厂名称 + /// + public string PlantName { get; set; } + + /// + /// 供应商总成零件号 + /// + public string VendorProductNo { get; set; } + + /// + /// 供应商总成零件名称 + /// + public string VendorProductName { get; set; } + + /// + /// 奇瑞零件号 + /// + public string CheryProductNo { get; set; } + + /// + /// 奇瑞零件名称 + /// + public string CheryProductName { get; set; } + + /// + /// 计划单号 + /// + public string PlanNo { get; set; } + + /// + /// 生产工单号 + /// + public string ManufactureNo { get; set; } + + /// + /// 生产批次号 + /// + public string ProductBatchNo { get; set; } + + /// + /// 批次计划数量 + /// + public decimal ManufactureNum { get; set; } + + /// + /// 批次投入数量 + /// + public decimal ManufactureInputNum { get; set; } + + /// + /// 批次产出数量 + /// + public decimal ManufactureOutputNum { get; set; } + + /// + /// 排产状态(0:未生产,1:生产中,2:已完工,3:已取消,4:已终止) + /// + public int PlanStatus { get; set; } + + /// + /// 计划开始时间(格式:yyyy-MM-dd HH:mm:ss) + /// + public DateTime PlanBeginTime { get; set; } + + /// + /// 计划结束时间(格式:yyyy-MM-dd HH:mm:ss) + /// + public DateTime PlanEndTime { get; set; } + + /// + /// 实际开始时间(格式:yyyy-MM-dd HH:mm:ss) + /// + public DateTime ActualBeginTime { get; set; } + + /// + /// 实际结束时间(格式:yyyy-MM-dd HH:mm:ss) + /// + public DateTime ActualEndTime { get; set; } + } +} diff --git a/API/TaskManager.Entity/Entitys/10_17/Class1.cs b/API/TaskManager.Entity/Entitys/10_17/Class1.cs new file mode 100644 index 0000000..7128337 --- /dev/null +++ b/API/TaskManager.Entity/Entitys/10_17/Class1.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace TaskManager.Entity.Entitys._10_17 +{ + internal class Class1 + { + } +} diff --git a/API/TaskManager.Entity/TaskManager.Entity.csproj b/API/TaskManager.Entity/TaskManager.Entity.csproj index 890eb0c..b11c8a0 100644 --- a/API/TaskManager.Entity/TaskManager.Entity.csproj +++ b/API/TaskManager.Entity/TaskManager.Entity.csproj @@ -11,7 +11,6 @@ -