You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
767 lines
24 KiB
767 lines
24 KiB
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TaskManager.Entity
|
|
{
|
|
|
|
|
|
public interface IDoExecute
|
|
{
|
|
Task ExecuteAsync(string url, string path, string takName);
|
|
}
|
|
public class TaskConifgure
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long UId { get; set; }
|
|
/// <summary>
|
|
/// 加密用API路径
|
|
/// </summary>
|
|
public string Api { get; set; }
|
|
public string Corn { get; set; }
|
|
public string Module { get; set; }
|
|
public string Remark { get; set; }
|
|
public string TableName { get; set; }
|
|
public string TaskName { get; set; }
|
|
/// <summary>
|
|
/// 调用全路径
|
|
/// </summary>
|
|
public string Url { get; set; }
|
|
public bool IsAuto { get; set; }
|
|
|
|
}
|
|
|
|
public class TaskLog
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long UId { get; set; }
|
|
public string Info { get; set; }
|
|
public string Type { get; set; }
|
|
public string TaskName { get; set; }
|
|
public DateTime CreationTime { set; get; }
|
|
public string Remark { get; set; }
|
|
|
|
}
|
|
public class BaseEntity
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long UId { get; set; }
|
|
public bool WriteState { get; set; }
|
|
public bool ReadState { get; set; }
|
|
|
|
public DateTime CreationTime { get; set; }
|
|
|
|
public string Remark { get; set; }
|
|
}
|
|
|
|
public class CherryReadBaseEntity:BaseEntity
|
|
{
|
|
public string RequestDate { get; set; }
|
|
public string Id { get; set; }
|
|
|
|
public string TaskId { get; set; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
/// 来料检验数据
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_MATERIAL_STOCK:BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 排产数据
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_SCHEDULING : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 供应商基础信息
|
|
/// </summary>
|
|
public class SUPPLIER_INFO : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 人员资质信息
|
|
/// </summary>
|
|
public class SUPPLIER_EMPLOYEE : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// BOM主数据
|
|
/// </summary>
|
|
public class SUPPLIER_BOM : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 过程控制项质量数据
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_CPS : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 生产过程数据
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_DATA : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 产品一次合格率
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_FIRST_PASSYIELD : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工位一次合格率
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_STATION_FIRST_PASSYIELD : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 缺陷业务数据
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_FLAW : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 环境业务数据
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_ENVIRONMENT : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 设备OEE达成率
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// OEE时间明细
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_OEE_TIME_DETAILS : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 物料主数据
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_MATERIAL_DATA : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 附件类数据
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_ATTACHMENT_DATA : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工艺装备
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_PROCESS_EQUIPMENT : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工艺
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_PROCESS : BaseEntity
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// 整车月度生产计划-2
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_PLANING : CherryReadBaseEntity
|
|
{
|
|
|
|
[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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// M+6月物料需求计划
|
|
/// </summary>
|
|
public class SUPPLIER_MRP_MONTH : CherryReadBaseEntity
|
|
{
|
|
|
|
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 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 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; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// M+6月物料需求计划风险确认
|
|
/// </summary>
|
|
public class SUPPLIER_CON_MMRP : BaseEntity
|
|
{
|
|
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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 日物料需求计划
|
|
/// </summary>
|
|
public class SUPPLIER_MRP_DATE : CherryReadBaseEntity
|
|
{
|
|
|
|
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 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 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; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 日物料需求计划风险确认
|
|
/// </summary>
|
|
public class SUPPLIER_CON_DATE : BaseEntity
|
|
{
|
|
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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 计划协议
|
|
/// </summary>
|
|
public class SUPPLIER_SA_WEEK : CherryReadBaseEntity
|
|
{
|
|
|
|
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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 采购订单
|
|
/// </summary>
|
|
public class SUPPLIER_PO : CherryReadBaseEntity
|
|
{
|
|
|
|
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 int QuantityDemand { get; set; }
|
|
public string MaterialUnit { get; set; }
|
|
public string DeliveryDate { get; set; }
|
|
public string DeliveryPlace { get; set; }
|
|
public int 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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 采购订单风险确认
|
|
/// </summary>
|
|
public class SUPPLIER_CON_PO : BaseEntity
|
|
{
|
|
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; }
|
|
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 过焊装未过总装
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_HSCHEDUL : CherryReadBaseEntity
|
|
{
|
|
|
|
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; }
|
|
|
|
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 过涂装未过总装
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_TSCHEDUL : CherryReadBaseEntity
|
|
{
|
|
|
|
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; }
|
|
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 排序供货
|
|
/// </summary>
|
|
public class SUPPLIER_PRO_CSCHEDUL : CherryReadBaseEntity
|
|
{
|
|
|
|
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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 看板配送单
|
|
/// </summary>
|
|
public class SUPPLIER_DEL_STATE : CherryReadBaseEntity
|
|
{
|
|
|
|
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 int 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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 退货单
|
|
/// </summary>
|
|
public class SUPPLIER_RETURN : CherryReadBaseEntity
|
|
{
|
|
|
|
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 int 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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 奇瑞RDC共享库存
|
|
/// </summary>
|
|
public class SUPPLIER_INV_DATA : CherryReadBaseEntity
|
|
{
|
|
|
|
public string PlantId { get; set; }
|
|
public string PlantName { get; set; }
|
|
public string MaterialCode { get; set; }
|
|
public string MaterialDescription { get; set; }
|
|
public int 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; }
|
|
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 供应商共享库存
|
|
/// </summary>
|
|
public class SUPPLIER_SINV_DATA : CherryReadBaseEntity
|
|
{
|
|
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; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// 日MRP状态监控
|
|
/// </summary>
|
|
public class SUPPLIER_MRP_STATE : CherryReadBaseEntity
|
|
{
|
|
|
|
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 int CreatQuantity { get; set; }
|
|
public int QuantityDelivery { get; set; }
|
|
public int QuantityReceive { get; set; }
|
|
public int QuantityInTransit { get; set; }
|
|
public int OnTimePercentage { get; set; }
|
|
public int SummaryCreatQuantity { get; set; }
|
|
public int SummaryQuantityDelivery { get; set; }
|
|
public int SummaryQuantityReceive { get; set; }
|
|
public int 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; }
|
|
|
|
}
|
|
|
|
/// <summary>
|
|
/// 日MRP预警推移
|
|
/// </summary>
|
|
public class SUPPLIER_MRP_WARNING : CherryReadBaseEntity
|
|
{
|
|
|
|
public string PlantId { get; set; }
|
|
public string MaterialCode { get; set; }
|
|
public string MaterialDescription { get; set; }
|
|
public int QuantityCurrent { get; set; }
|
|
public string ReckonDate { get; set; }
|
|
public int QuantityPlanned { get; set; }
|
|
public int QuantityPlannedDelivery { get; set; }
|
|
public int QuantityInTransit { get; set; }
|
|
public int DateGap { get; set; }
|
|
public int 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; }
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|