|
|
@ -6,6 +6,7 @@ using System.ComponentModel.DataAnnotations; |
|
|
|
using System.ComponentModel.DataAnnotations.Schema; |
|
|
|
using System.Linq; |
|
|
|
using System.Text; |
|
|
|
using System.Text.Json.Serialization; |
|
|
|
using System.Threading.Tasks; |
|
|
|
|
|
|
|
namespace TaskManager.Entity |
|
|
@ -66,30 +67,40 @@ namespace TaskManager.Entity |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public class TaskLog |
|
|
|
public class TaskLog:BaseEntity |
|
|
|
{ |
|
|
|
[Key] |
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] |
|
|
|
public long UId { get; set; } |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 详细描述
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "信息")] |
|
|
|
public string Info { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 日志类型
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "日志类型")] |
|
|
|
public string Type { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 任务名称
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "任务名")] |
|
|
|
public string TaskName { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 任务名称
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "任务ID")] |
|
|
|
public Guid TaskId { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "创建时间")] |
|
|
|
public DateTime CreationTime { set; get; } |
|
|
|
/// <summary>
|
|
|
|
/// 备注
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "备注")] |
|
|
|
public string Remark { get; set; } |
|
|
|
|
|
|
|
} |
|
|
@ -115,7 +126,13 @@ namespace TaskManager.Entity |
|
|
|
|
|
|
|
public class CherryReadBaseEntity:BaseEntity |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 请求发出日期
|
|
|
|
/// </summary>
|
|
|
|
public string RequestDate { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 同步ID
|
|
|
|
/// </summary>
|
|
|
|
public string Id { get; set; } |
|
|
|
|
|
|
|
|
|
|
@ -128,27 +145,27 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
public class TaskSub:BaseEntity |
|
|
|
{ |
|
|
|
[ExporterHeader(DisplayName = "用户名")] |
|
|
|
[ExporterHeader(DisplayName = "表名")] |
|
|
|
/// <summary>
|
|
|
|
/// 关联的数据表名称(如:订单表、用户表等,可为空)
|
|
|
|
/// </summary>
|
|
|
|
public string? TableName { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "任务名称")] |
|
|
|
/// <summary>
|
|
|
|
/// 任务名称(用于业务层面标识任务,如:数据同步任务、报表生成任务)
|
|
|
|
/// </summary>
|
|
|
|
public string? TaskName { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "同步总数量")] |
|
|
|
/// <summary>
|
|
|
|
/// 数据总量(任务处理的数据条目数)
|
|
|
|
/// </summary>
|
|
|
|
public int DataCount { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "发布客户")] |
|
|
|
/// <summary>
|
|
|
|
/// 发布给那个客户
|
|
|
|
/// </summary>
|
|
|
|
public string? Subscriber { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "失败次数")] |
|
|
|
/// <summary>
|
|
|
|
/// 失败次数(任务执行失败的累计次数)
|
|
|
|
/// </summary>
|
|
|
@ -157,38 +174,41 @@ namespace TaskManager.Entity |
|
|
|
/// <summary>
|
|
|
|
/// 失败详情(记录失败原因、异常堆栈等信息,支持长文本)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "失败信息")] |
|
|
|
public string? FailedInfo { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 所属域(多租户场景下标识租户,如:租户A、租户B)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "域名")] |
|
|
|
public string? Domain { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 站点标识(多站点部署时标识所属站点,如:Site1、Site2)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "站点")] |
|
|
|
public string? Site { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "创建用户")] |
|
|
|
/// <summary>
|
|
|
|
/// 从那个内部系统创建系统
|
|
|
|
/// </summary>
|
|
|
|
public string? CreateUser { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "创建时间")] |
|
|
|
/// <summary>
|
|
|
|
/// 创建时间(任务创建的时间戳)
|
|
|
|
/// </summary>
|
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "备注")] |
|
|
|
/// <summary>
|
|
|
|
/// 备注信息(任务相关的补充说明,支持长文本)
|
|
|
|
/// </summary>
|
|
|
|
public string? Remark { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "更新客户系统名")] |
|
|
|
/// <summary>
|
|
|
|
/// 最后更新人(记录任务最后修改者)
|
|
|
|
/// </summary>
|
|
|
|
public string? UpdateUser { get; set; } |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "更新完成时间")] |
|
|
|
/// <summary>
|
|
|
|
/// 最后更新时间(任务最后修改的时间戳,可为空)
|
|
|
|
/// </summary>
|
|
|
@ -196,86 +216,157 @@ namespace TaskManager.Entity |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 整车月度生产计划-2
|
|
|
|
/// </summary>
|
|
|
|
public class SUPPLIER_PRO_PLANING : CherryReadBaseEntity |
|
|
|
{ |
|
|
|
/// <summary>
|
|
|
|
/// 主键ID
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("id")] |
|
|
|
public string Id { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("models")] |
|
|
|
public string Models { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 需求发布版次:唯一版次ID
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("releaseEdition")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string ReleaseEdition { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("quantity1")] |
|
|
|
public decimal? Quantity1 { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 车型
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("models")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string Models { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("quantity2")] |
|
|
|
public decimal? Quantity2 { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("startMonth")] |
|
|
|
public string StartMonth { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 类型
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("type")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string Type { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("isDelete")] |
|
|
|
public int IsDelete { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 动力总成
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("assembly")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string Assembly { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("updateByUser")] |
|
|
|
public string UpdateByUser { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 版型
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("pattern")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string Pattern { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("pattern")] |
|
|
|
public string Pattern { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("omterior")] // 可能是拼写错误,保留原始名称
|
|
|
|
public string Omterior { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 物料号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("materialCode")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string MaterialCode { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("salseDepartment")] // 可能是拼写错误,保留原始名称
|
|
|
|
public string SalseDepartment { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 起始月份-格式:yyyy-MM
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("startMonth")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string StartMonth { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("materialCode")] |
|
|
|
public string MaterialCode { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 数量1
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity1")] |
|
|
|
public decimal Quantity1 { get; set; } = 1; |
|
|
|
|
|
|
|
[JsonProperty("updateTime")] |
|
|
|
public DateTime? UpdateTime { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 数量2
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity2")] |
|
|
|
public decimal Quantity2 { get; set; } = 1; |
|
|
|
|
|
|
|
[JsonProperty("type")] |
|
|
|
public string Type { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 数量3
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity3")] |
|
|
|
public decimal Quantity3 { get; set; } = 1; |
|
|
|
|
|
|
|
[JsonProperty("quantity3")] |
|
|
|
public decimal? Quantity3 { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 数量4
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity4")] |
|
|
|
public decimal Quantity4 { get; set; } = 1; |
|
|
|
|
|
|
|
[JsonProperty("releaseEdition")] |
|
|
|
public string ReleaseEdition { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 数量5
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity5")] |
|
|
|
public decimal Quantity5 { get; set; } = 1; |
|
|
|
|
|
|
|
[JsonProperty("quantity4")] |
|
|
|
public decimal? Quantity4 { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 数量6
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity6")] |
|
|
|
public decimal Quantity6 { get; set; } = 1; |
|
|
|
|
|
|
|
[JsonProperty("version")] |
|
|
|
public int Version { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 工厂
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("plant")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string Plant { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("quantity5")] |
|
|
|
public decimal? Quantity5 { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 创建人
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string CreateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createTime")] |
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("quantity6")] |
|
|
|
public decimal? Quantity6 { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 修改人
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string UpdateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
[JsonProperty("createTime")] |
|
|
|
public DateTime? CreateTime { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 修改时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateTime")] |
|
|
|
public DateTime UpdateTime { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("plant")] |
|
|
|
public string Plant { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 是否删除(0:否,1:是)
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("isDelete")] |
|
|
|
public int IsDelete { get; set; } = 0; |
|
|
|
|
|
|
|
[JsonProperty("assembly")] |
|
|
|
public string Assembly { get; set; } |
|
|
|
/// <summary>
|
|
|
|
/// 版本号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("version")] |
|
|
|
public int Version { get; set; } = 1; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty("createByUser")] |
|
|
|
public string CreateByUser { get; set; } |
|
|
|
[JsonProperty("omterior")] // 可能是拼写错误,保留原始名称
|
|
|
|
public string Omterior { get; set; } |
|
|
|
|
|
|
|
[JsonProperty("salseDepartment")] // 可能是拼写错误,保留原始名称
|
|
|
|
public string SalseDepartment { get; set; } |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -283,37 +374,172 @@ namespace TaskManager.Entity |
|
|
|
/// </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>
|
|
|
|
/// 主键ID
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("id")] |
|
|
|
public string Id { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求发布版次:M+6月物料需求计划风险确认接口对应需求版次,需求ID
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("releaseEdition")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string ReleaseEdition { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件号:奇瑞零件号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("materialCode")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string MaterialCode { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件名称
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("materialDescription")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string MaterialDescription { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 工厂代码
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("plantId")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string PlantId { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 工厂名称
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("plantName")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string PlantName { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 起始月份-格式:yyyy-MM
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("startMonth")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string StartMonth { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量1
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand1")] |
|
|
|
public decimal QuantityDemand1 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量2
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand2")] |
|
|
|
public decimal QuantityDemand2 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量3
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand3")] |
|
|
|
public decimal QuantityDemand3 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量4
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand4")] |
|
|
|
public decimal QuantityDemand4 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量5
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand5")] |
|
|
|
public decimal QuantityDemand5 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量6
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand6")] |
|
|
|
public decimal QuantityDemand6 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量7
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand7")] |
|
|
|
public decimal QuantityDemand7 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量8
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand8")] |
|
|
|
public decimal QuantityDemand8 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量9
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand9")] |
|
|
|
public decimal QuantityDemand9 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量10
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand10")] |
|
|
|
public decimal QuantityDemand10 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量11
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand11")] |
|
|
|
public decimal QuantityDemand11 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量12
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand12")] |
|
|
|
public int QuantityDemand12 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 当文件夹数据发生变更时(更新需求=1/否则=0)
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("isUpdate")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string IsUpdate { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建人
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string CreateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createTime")] |
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改人
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string UpdateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateTime")] |
|
|
|
public DateTime UpdateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否删除(0:否,1是)
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("isDelete")] |
|
|
|
public int IsDelete { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 版本号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("version")] |
|
|
|
public int Version { get; set; } = 1; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
@ -351,53 +577,171 @@ namespace TaskManager.Entity |
|
|
|
/// </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>
|
|
|
|
/// 主键ID
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("id")] |
|
|
|
public int Id { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求发布版次:M+6月物料需求计划风险确认接口对应需求版次,需求ID
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("releaseEdition")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string ReleaseEdition { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件号:奇瑞零件号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("materialCode")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string MaterialCode { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件名称
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("materialDescription")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string MaterialDescription { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 工厂代码
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("plantId")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string PlantId { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 工厂名称
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("plantName")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string PlantName { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 起始月份-格式:yyyy-MM
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("startMonth")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string StartMonth { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量1
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand1")] |
|
|
|
public int QuantityDemand1 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量2
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand2")] |
|
|
|
public int QuantityDemand2 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量3
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand3")] |
|
|
|
public int QuantityDemand3 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量4
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand4")] |
|
|
|
public int QuantityDemand4 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量5
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand5")] |
|
|
|
public int QuantityDemand5 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量6
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand6")] |
|
|
|
public int QuantityDemand6 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量7
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand7")] |
|
|
|
public int QuantityDemand7 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量8
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand8")] |
|
|
|
public int QuantityDemand8 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量9
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand9")] |
|
|
|
public int QuantityDemand9 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量10
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand10")] |
|
|
|
public int QuantityDemand10 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量11
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand11")] |
|
|
|
public int QuantityDemand11 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量12
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand12")] |
|
|
|
public int QuantityDemand12 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 当文件夹数据发生变更时(更新需求=1/否则=0)
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("isUpdate")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string IsUpdate { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建人
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string CreateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createTime")] |
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改人
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string UpdateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateTime")] |
|
|
|
public DateTime UpdateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否删除(0:否,1是)
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("isDelete")] |
|
|
|
public int IsDelete { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 版本号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("version")] |
|
|
|
public int Version { get; set; } = 1; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|