using Newtonsoft.Json; using System.Globalization; using System.Text.Json; using System.Text.Json.Serialization; namespace TaskManager.Contracts.Dtos { public class PAGE_OUT_DTO { /// 数据总数 [JsonPropertyName("total")] public int Total { get; set; } /// 当前页码(从1开始) [JsonPropertyName("pageNum")] public int PageNum { get; set; } /// 每页数量(最大值1000) [JsonPropertyName("pageSize")] public int PageSize { get; set; } } public class PagedResponse { [JsonPropertyName("code")] public int Code { get; set; } [JsonPropertyName("data")] public DataResponse Data { get; set; } [JsonPropertyName("message")] public string Message { get; set; } } public class DataResponse { [JsonPropertyName("total")] public string Total { get; set; } [JsonPropertyName("pageNum")] public string PageNum { get; set; } [JsonPropertyName("pageSize")] public string PageSize { get; set; } [JsonPropertyName("rows")] public List Rows { get; set; } } public class PAGE_DTO { [JsonPropertyName("date")] public string Date { get; set; } = DateTime.Now.ToString("yyyy-MM-dd"); [JsonPropertyName("pageSize")] public int PageSize { get; set; } = 1000; [JsonPropertyName("pageNum")] public int PageNum { get; set; } = 1; [JsonPropertyName("isForce")] public bool IsForce { get; set; } = false; } #region 整车月度生产计划Dto public class SUPPLIER_PRO_PLANING_DTO : PAGE_OUT_DTO { /// 数据行列表 [JsonPropertyName("rows")] public List Rows { get; set; } } public class CherryReadBaseEntityDto { public string Id { get; set; } } public class SUPPLIER_PRO_PLANING_DETIAL_DTO: CherryReadBaseEntityDto { //public string models { get; set; } //public decimal? quantity1 { get; set; } //public decimal? quantity2 { get; set; } //public string startMonth { get; set; } //public int isDelete { get; set; } //public string updateByUser { get; set; } //public string pattern { get; set; } //public string omterior { get; set; } //public string salseDepartment { get; set; } //public string materialCode { get; set; } //public DateTime? updateTime { get; set; } //public string type { get; set; } //public decimal? quantity3 { get; set; } //public string releaseEdition { get; set; } //public decimal? quantity4 { get; set; } //public int? version { get; set; } //public decimal? quantity5 { get; set; } //public decimal? quantity6 { get; set; } //public DateTime? createTime { get; set; } //public string plant { get; set; } //public string assembly { get; set; } //public string id { get; set; } //public string createByUser { get; set; } [JsonProperty("models")] public string Models { get; set; } [JsonProperty("quantity1")] public decimal? Quantity1 { get; set; } [JsonProperty("quantity2")] public decimal? Quantity2 { get; set; } [JsonProperty("startMonth")] public string StartMonth { get; set; } [JsonProperty("isDelete")] public int IsDelete { get; set; } [JsonProperty("updateByUser")] public string UpdateByUser { get; set; } [JsonProperty("pattern")] public string Pattern { get; set; } [JsonProperty("omterior")] // 可能是拼写错误,保留原始名称 public string Omterior { get; set; } [JsonProperty("salseDepartment")] // 可能是拼写错误,保留原始名称 public string SalseDepartment { get; set; } [JsonProperty("materialCode")] public string MaterialCode { get; set; } [JsonProperty("updateTime")] public DateTime? UpdateTime { get; set; } [JsonProperty("type")] public string Type { get; set; } [JsonProperty("quantity3")] public decimal? Quantity3 { get; set; } [JsonProperty("releaseEdition")] public string ReleaseEdition { get; set; } [JsonProperty("quantity4")] public decimal? Quantity4 { get; set; } [JsonProperty("version")] public int Version { get; set; } [JsonProperty("quantity5")] public decimal? Quantity5 { get; set; } [JsonProperty("quantity6")] public decimal? Quantity6 { get; set; } [JsonProperty("createTime")] public DateTime? CreateTime { get; set; } [JsonProperty("plant")] public string Plant { get; set; } [JsonProperty("assembly")] public string Assembly { get; set; } [JsonProperty("createByUser")] public string CreateByUser { get; set; } } // 自定义日期转换器(建议单独文件存放) public class CustomDateTimeConverter : System.Text.Json.Serialization.JsonConverter { private const string Format = "yyyy-MM-dd HH:mm:ss"; public override DateTime Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) => DateTime.ParseExact(reader.GetString(), Format, CultureInfo.InvariantCulture); public override void Write(Utf8JsonWriter writer, DateTime value, JsonSerializerOptions options) => writer.WriteStringValue(value.ToString(Format, CultureInfo.InvariantCulture)); } #endregion #region M+6月物料需求计划. public class SUPPLIER_MRP_MONTH_DETAIL_DTO: CherryReadBaseEntityDto { 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; } public string StartMonth { get; set; } public int QuantityDemand1 { get; set; } public int QuantityDemand2 { get; set; } public int QuantityDemand3 { get; set; } public int QuantityDemand4 { get; set; } public int QuantityDemand5 { get; set; } public int QuantityDemand6 { get; set; } public int QuantityDemand7 { get; set; } public int QuantityDemand8 { get; set; } public int QuantityDemand9 { get; set; } public int QuantityDemand10 { get; set; } public int QuantityDemand11 { get; set; } public int QuantityDemand12 { get; set; } public string IsUpdate { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public string IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_MRP_MONTH_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region M+6月物料需求计划风险确认 public class DemandData1 { public int Id { get; set; } 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; } public string StartDate { get; set; } // Quantity demands from 1 to 31 public int QuantityDemand1 { get; set; } public int QuantityDemand2 { get; set; } public int QuantityDemand3 { get; set; } public int QuantityDemand4 { get; set; } public int QuantityDemand5 { get; set; } public int QuantityDemand6 { get; set; } public int QuantityDemand7 { get; set; } public int QuantityDemand8 { get; set; } public int QuantityDemand9 { get; set; } public int QuantityDemand10 { get; set; } public int QuantityDemand11 { get; set; } public int QuantityDemand12 { get; set; } public int QuantityDemand13 { get; set; } public int QuantityDemand14 { get; set; } public int QuantityDemand15 { get; set; } public int QuantityDemand16 { get; set; } public int QuantityDemand17 { get; set; } public int QuantityDemand18 { get; set; } public int QuantityDemand19 { get; set; } public int QuantityDemand20 { get; set; } public int QuantityDemand21 { get; set; } public int QuantityDemand22 { get; set; } public int QuantityDemand23 { get; set; } public int QuantityDemand24 { get; set; } public int QuantityDemand25 { get; set; } public int QuantityDemand26 { get; set; } public int QuantityDemand27 { get; set; } public int QuantityDemand28 { get; set; } public int QuantityDemand29 { get; set; } public int QuantityDemand30 { get; set; } public int QuantityDemand31 { get; set; } public string Is_update { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class ResponseModel1 { public int Total { get; set; } public int PageNum { get; set; } public int PageSize { get; set; } public List Rows { get; set; } } #endregion #region 计划协议 public class SUPPLIER_SA_WEEK_DETAIL_DTO : CherryReadBaseEntityDto { 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 int QuantityDemand { get; set; } public string DateReceived { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_SA_WEEK_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region 采购订单 public class SUPPLIER_PO_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } public class SUPPLIER_PO_DETAIL_DTO:CherryReadBaseEntityDto { public string PurchaseOrder { get; set; } public string SerialNumber { get; set; } public string PlantId { get; set; } public string PlantName { get; set; } 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 decimal? QuantityDemand { get; set; } public string MaterialUnit { get; set; } public string DeliveryDate { get; set; } public string DeliveryPlace { get; set; } public decimal? 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; } public int IsDelete { get; set; } public int Version { get; set; } } #endregion #region 采购订单风险确认 #region 输入 public class RootObject2323 { public string batchNo { get; set; } public int total { get; set; } public int pageSize { get; set; } public int pageNum { get; set; } public List list { get; set; } } public class Item { public string SupplierCode { get; set; } public string PurchaseOrder { get; set; } public string SerialNumber { get; set; } public int QuantityMeet { get; set; } public string FeedbackResults { get; set; } public string VentureType { get; set; } public string VentureSpecific { get; set; } public string Measures { get; set; } } #endregion #region 输出 public class Response { public string code { get; set; } public string message { get; set; } public Data data { get; set; } } public class Data { public string batchNo { get; set; } public string apiName { get; set; } public int totalGet { get; set; } public int totalError { get; set; } public int totalSave { get; set; } } #endregion #endregion #region 过焊装未过总装(输出) public class SUPPLIER_PRO_HSCHEDUL_DETAIL_DTO : CherryReadBaseEntityDto { public string Models { get; set; } 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; } public string OnLineTime { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_PRO_HSCHEDUL_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region 过涂装未过总装(输出) public class SUPPLIER_PRO_TSCHEDUL_DETAIL_DTO : CherryReadBaseEntityDto { public string Models { get; set; } 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 OnLineTime { get; set; } public string FinalWorkshop { get; set; } public string FinalOnLineTime { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_PRO_TSCHEDUL_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region 排序供货. public class SUPPLIER_PRO_CSCHEDUL_DETAIL_DTO : CherryReadBaseEntityDto { public string Models { get; set; } 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 SortDate { get; set; } public string SortTime { get; set; } public string OnLineDate { get; set; } 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 DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_PRO_CSCHEDUL_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region 看板配送单(输出). public class SUPPLIER_DEL_STATE_DETAIL_DTO : CherryReadBaseEntityDto { public string DeliveryNumber { get; set; } public string SerialNumber { get; set; } public string SerialSrate { get; set; } // Matches input, may check for typo (e.g. SerialState?) public string MaterialCode { get; set; } public string MaterialDescription { get; set; } public string PlantId { get; set; } public string ReceivingCrossings { get; set; } public decimal? QuantityDelivery { get; set; } public string DataCreateTime { get; set; } public string SupplierReceiveTime { get; set; } public string RoadShippedTime { get; set; } public string RoadReceiveTime { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_DEL_STATE_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region 退货单(输出). public class SUPPLIER_RETURN_DETAIL_DTO : CherryReadBaseEntityDto { public string ReturnNumber { get; set; } public string SerialNumber { get; set; } public string SerialSrate { get; set; } // Matches input, possibly a typo (e.g. SerialState?) public string PickUpLocation { get; set; } public string DemandPickupTime { get; set; } public string PickUpCrossings { get; set; } public string Feedback { get; set; } public string Plant { get; set; } public string MaterialCode { get; set; } public string MaterialDescription { get; set; } public decimal? QuantityDelivery { get; set; } 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 DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_RETURN_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region 奇瑞RDC共享库存(输出) public class SUPPLIER_INV_DATA_DETAIL_DTO : CherryReadBaseEntityDto { public string PlantId { get; set; } public string PlantName { get; set; } public string MaterialCode { get; set; } public string MaterialDescription { get; set; } public decimal? QuantityCurrent { get; set; } public string StockState { get; set; } public string DataUpdateTime { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_INV_DATA_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region 日MRP状态监控(输出) public class SUPPLIER_MRP_STATE_DETIAL_DTO : CherryReadBaseEntityDto { public string PlantId { get; set; } public string PlantName { get; set; } public string DemandSrate { get; set; } // Matches input, possibly a typo (e.g. DemandState?) public string DemandType { get; set; } public string MaterialCode { get; set; } public string MaterialDescription { get; set; } public string SummarySign { get; set; } public string DateRequired { get; set; } public int QuantityDemand { get; set; } public string ConfirmTime { get; set; } public decimal? CreatQuantity { get; set; } public decimal? QuantityDelivery { get; set; } public decimal? QuantityReceive { get; set; } public decimal? QuantityInTransit { get; set; } public decimal? OnTimePercentage { get; set; } public decimal? SummaryCreatQuantity { get; set; } public decimal? SummaryQuantityDelivery { get; set; } public decimal? SummaryQuantityReceive { get; set; } public decimal? SummaryQuantityInTransit { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_MRP_STATE_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region 日MRP预警推移 public class SUPPLIER_MRP_WARNING_DETAIL_DTO : CherryReadBaseEntityDto { public string PlantId { get; set; } public string MaterialCode { get; set; } public string MaterialDescription { get; set; } public decimal? QuantityCurrent { get; set; } public string ReckonDate { get; set; } public decimal? QuantityPlanned { get; set; } public decimal? QuantityPlannedDelivery { get; set; } public decimal? QuantityInTransit { get; set; } public decimal? DateGap { get; set; } public decimal? InventoryGap { get; set; } public string CreateByUser { get; set; } public DateTime CreateTime { get; set; } public string UpdateByUser { get; set; } public DateTime UpdateTime { get; set; } public int IsDelete { get; set; } public int Version { get; set; } } public class SUPPLIER_MRP_WARNING_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } #endregion #region M+6月物料需求计划风险确认(输入) #region 输入 public class SUPPLIER_CON_MMRP_DETAIL_DTO { public string SupplierCode { get; set; } public string ReleaseEdition { get; set; } public string MaterialCode { get; set; } public string PlantId { get; set; } public string FeedbackResults { get; set; } public string VentureType { get; set; } public string VentureSpecific { get; set; } public string Measures { get; set; } public string StartMonth { get; set; } public int QuantityMeet1 { get; set; } public int QuantityMeet2 { get; set; } public int QuantityMeet3 { get; set; } public int QuantityMeet4 { get; set; } public int QuantityMeet5 { get; set; } public int QuantityMeet6 { get; set; } public int QuantityMeet7 { get; set; } public int QuantityMeet8 { get; set; } public int QuantityMeet9 { get; set; } public int QuantityMeet10 { get; set; } public int QuantityMeet11 { get; set; } public int QuantityMeet12 { get; set; } } public class SUPPLIER_CON_MMRP_DTO { public string BatchNo { get; set; } public int Total { get; set; } public int PageSize { get; set; } public int PageNum { get; set; } public List List { get; set; } } #endregion #region 输出 public class SUPPLIER_CON_MMRP_DETAIL_OUT_DETAIL_DTO { public string BatchNo { get; set; } public string ApiName { get; set; } public int TotalGet { get; set; } public int TotalError { get; set; } public int TotalSave { get; set; } } public class SUPPLIER_CON_MMRP_OUT_DTO { public string Code { get; set; } public string Message { get; set; } public SUPPLIER_CON_MMRP_DETAIL_OUT_DETAIL_DTO Data { get; set; } } #endregion #endregion #region 日物料需求计划 public class SUPPLIER_MRP_DATE_DTO : PAGE_OUT_DTO { public List Rows { get; set; } } public class SUPPLIER_MRP_DATE_DETAIL_DTO : CherryReadBaseEntityDto { 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; } public string StartDate { get; set; } public decimal? QuantityDemand1 { get; set; } public decimal? QuantityDemand2 { get; set; } public decimal? QuantityDemand3 { get; set; } public decimal? QuantityDemand4 { get; set; } public decimal? QuantityDemand5 { get; set; } public decimal? QuantityDemand6 { get; set; } public decimal? QuantityDemand7 { get; set; } public decimal? QuantityDemand8 { get; set; } public decimal? QuantityDemand9 { get; set; } public decimal? QuantityDemand10 { get; set; } public decimal? QuantityDemand11 { get; set; } public decimal? QuantityDemand12 { get; set; } public decimal? QuantityDemand13 { get; set; } public decimal? QuantityDemand14 { get; set; } public decimal? QuantityDemand15 { get; set; } public decimal? QuantityDemand16 { get; set; } public decimal? QuantityDemand17 { get; set; } public decimal? QuantityDemand18 { get; set; } public decimal? QuantityDemand19 { get; set; } public decimal? QuantityDemand20 { get; set; } public decimal? QuantityDemand21 { get; set; } public decimal? QuantityDemand22 { get; set; } public decimal? QuantityDemand23 { get; set; } public decimal? QuantityDemand24 { get; set; } public decimal? QuantityDemand25 { get; set; } public decimal? QuantityDemand26 { get; set; } public decimal? QuantityDemand27 { get; set; } public decimal? QuantityDemand28 { get; set; } public decimal? QuantityDemand29 { get; set; } public decimal? QuantityDemand30 { get; set; } public decimal? QuantityDemand31 { get; set; } 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; } public int IsDelete { get; set; } public int Version { get; set; } } #endregion #region 日物料需求计划风险确认 #region 输入 public class SUPPLIER_CON_DATE_DETAIL_DTO { public string SupplierCode { get; set; } public string ReleaseEdition { get; set; } public string MaterialCode { get; set; } public string PlantId { get; set; } public string FeedbackResults { get; set; } public string VentureType { get; set; } public string VentureSpecific { get; set; } public string Measures { get; set; } public string StartDate { get; set; } // QuantityMeet from 1 to 31 public int QuantityMeet1 { get; set; } public int QuantityMeet2 { get; set; } public int QuantityMeet3 { get; set; } public int QuantityMeet4 { get; set; } public int QuantityMeet5 { get; set; } public int QuantityMeet6 { get; set; } public int QuantityMeet7 { get; set; } public int QuantityMeet8 { get; set; } public int QuantityMeet9 { get; set; } public int QuantityMeet10 { get; set; } public int QuantityMeet11 { get; set; } public int QuantityMeet12 { get; set; } public int QuantityMeet13 { get; set; } public int QuantityMeet14 { get; set; } public int QuantityMeet15 { get; set; } public int QuantityMeet16 { get; set; } public int QuantityMeet17 { get; set; } public int QuantityMeet18 { get; set; } public int QuantityMeet19 { get; set; } public int QuantityMeet20 { get; set; } public int QuantityMeet21 { get; set; } public int QuantityMeet22 { get; set; } public int QuantityMeet23 { get; set; } public int QuantityMeet24 { get; set; } public int QuantityMeet25 { get; set; } public int QuantityMeet26 { get; set; } public int QuantityMeet27 { get; set; } public int QuantityMeet28 { get; set; } public int QuantityMeet29 { get; set; } public int QuantityMeet30 { get; set; } public int QuantityMeet31 { get; set; } } public class SUPPLIER_CON_DATE_DTO { public string BatchNo { get; set; } public int Total { get; set; } public int PageSize { get; set; } public int PageNum { get; set; } public List List { get; set; } } #endregion #region 输出 public class SUPPLIER_CON_DATE_DETAIL_OUT_DTO { public string BatchNo { get; set; } public string ApiName { get; set; } public int TotalGet { get; set; } public int TotalError { get; set; } public int TotalSave { get; set; } } public class SUPPLIER_CON_DATE_OUT_DTO { public string Code { get; set; } public string Message { get; set; } public SUPPLIER_CON_DATE_DETAIL_OUT_DTO Data { get; set; } } #endregion #endregion #region 采购订单风险确认 public class SUPPLIER_CON_PO_DETAIL_DTO { public string SupplierCode { get; set; } public string PurchaseOrder { get; set; } public string SerialNumber { get; set; } public int QuantityMeet { get; set; } public string FeedbackResults { get; set; } public string VentureType { get; set; } public string VentureSpecific { get; set; } public string Measures { get; set; } } public class SUPPLIER_CON_PO_DTO { public string BatchNo { get; set; } public int Total { get; set; } public int PageSize { get; set; } public int PageNum { get; set; } public List List { get; set; } } #region 输出 public class SUPPLIER_CON_PO_DETAIL_OUT_DTO { public string BatchNo { get; set; } public string ApiName { get; set; } public int TotalGet { get; set; } public int TotalError { get; set; } public int TotalSave { get; set; } } public class SUPPLIER_CON_PO_OUT_DTO { public string Code { get; set; } public string Message { get; set; } public SUPPLIER_CON_PO_DETAIL_OUT_DTO Data { get; set; } } #endregion #endregion #region 供应商共享库存 #region 输入 public class SUPPLIER_SINV_DATA_DETAIL_DTO:CherryReadBaseEntityDto { public string SupplierCode { get; set; } public string SupplierName { get; set; } public string MaterialCode { get; set; } public string MaterialDescription { get; set; } public string MaterialType { get; set; } public int QuantityCurrent { get; set; } public int QuantityPlan { get; set; } public string InventoryStatus { get; set; } public int SafetyStock { get; set; } public string ProductionCycle { get; set; } public string DataUpdateTime { get; set; } public string SupplierBatch { get; set; } public string SupplieryxqDate { get; set; } } public class SUPPLIER_SINV_DATA_DTO { public string BatchNo { get; set; } public int Total { get; set; } public int PageSize { get; set; } public int PageNum { get; set; } public List List { get; set; } } #endregion #region 输出 public class SUPPLIER_SINV_DATA_DETAIL_OUT_DTO { public string BatchNo { get; set; } public string ApiName { get; set; } public int TotalGet { get; set; } public int TotalError { get; set; } public int TotalSave { get; set; } } public class SUPPLIER_SINV_DATA_OUT_DTO { public string Code { get; set; } public string Message { get; set; } public SUPPLIER_SINV_DATA_DETAIL_OUT_DTO Data { get; set; } } #endregion #endregion }