|
|
@ -317,10 +317,13 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
public class SUPPLIER_PRO_PLANING : CherryReadBaseEntity |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 主键ID
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("id")] |
|
|
|
[ExporterHeader(DisplayName = "主键ID")] |
|
|
|
public string? Id { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -328,6 +331,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("releaseEdition")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "需求发布版次")] |
|
|
|
public string? ReleaseEdition { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -335,14 +339,15 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("models")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "车型")] |
|
|
|
public string? Models { get; set; } = string.Empty; |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 类型
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("type")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "类型")] |
|
|
|
public string? Type { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -350,6 +355,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("assembly")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "动力总成")] |
|
|
|
public string? Assembly { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -357,14 +363,15 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("pattern")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "版型")] |
|
|
|
public string? Pattern { get; set; } = string.Empty; |
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 物料号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("materialCode")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "物料号")] |
|
|
|
public string? MaterialCode { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -372,42 +379,49 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("startMonth")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "起始月份")] |
|
|
|
public string? StartMonth { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数量1
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity1")] |
|
|
|
[ExporterHeader(DisplayName = "数量1")] |
|
|
|
public decimal? Quantity1 { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数量2
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity2")] |
|
|
|
[ExporterHeader(DisplayName = "数量2")] |
|
|
|
public decimal? Quantity2 { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数量3
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity3")] |
|
|
|
[ExporterHeader(DisplayName = "数量3")] |
|
|
|
public decimal? Quantity3 { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数量4
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity4")] |
|
|
|
[ExporterHeader(DisplayName = "数量4")] |
|
|
|
public decimal? Quantity4 { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数量5
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity5")] |
|
|
|
[ExporterHeader(DisplayName = "数量5")] |
|
|
|
public decimal? Quantity5 { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数量6
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantity6")] |
|
|
|
[ExporterHeader(DisplayName = "数量6")] |
|
|
|
public decimal? Quantity6 { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -415,6 +429,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("plant")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "工厂")] |
|
|
|
public string? Plant { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -422,12 +437,14 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "创建人")] |
|
|
|
public string? CreateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createTime")] |
|
|
|
[ExporterHeader(DisplayName = "创建时间")] |
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -435,33 +452,40 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "修改人")] |
|
|
|
public string? UpdateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateTime")] |
|
|
|
[ExporterHeader(DisplayName = "修改时间")] |
|
|
|
public DateTime UpdateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否删除(0:否,1:是)
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("isDelete")] |
|
|
|
[ExporterHeader(DisplayName = "删除状态")] |
|
|
|
public int IsDelete { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 版本号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("version")] |
|
|
|
[ExporterHeader(DisplayName = "版本号")] |
|
|
|
public int Version { get; set; } = 1; |
|
|
|
|
|
|
|
|
|
|
|
[JsonProperty("omterior")] // 可能是拼写错误,保留原始名称
|
|
|
|
[JsonProperty("omterior")] |
|
|
|
[ExporterHeader(DisplayName = "内外饰")] // 推测拼写错误并自定义显示名
|
|
|
|
public string? Omterior { get; set; } = String.Empty; |
|
|
|
|
|
|
|
[JsonProperty("salseDepartment")] // 可能是拼写错误,保留原始名称
|
|
|
|
[JsonProperty("salseDepartment")] |
|
|
|
[ExporterHeader(DisplayName = "销售部门")] // 推测拼写错误并自定义显示名
|
|
|
|
public string? SalseDepartment { get; set; } = String.Empty; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -475,6 +499,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("releaseEdition")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "需求发布版次")] |
|
|
|
public string? ReleaseEdition { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -482,6 +507,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("materialCode")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "零件号")] |
|
|
|
public string? MaterialCode { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -489,6 +515,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("materialDescription")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "零件名称")] |
|
|
|
public string? MaterialDescription { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -496,6 +523,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("plantId")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "工厂代码")] |
|
|
|
public string? PlantId { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -503,6 +531,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("plantName")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "工厂名称")] |
|
|
|
public string? PlantName { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -510,78 +539,91 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("startMonth")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "起始月份")] |
|
|
|
public string? StartMonth { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量1
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand1")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量1")] |
|
|
|
public decimal QuantityDemand1 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量2
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand2")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量2")] |
|
|
|
public decimal QuantityDemand2 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量3
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand3")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量3")] |
|
|
|
public decimal QuantityDemand3 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量4
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand4")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量4")] |
|
|
|
public decimal QuantityDemand4 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量5
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand5")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量5")] |
|
|
|
public decimal QuantityDemand5 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量6
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand6")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量6")] |
|
|
|
public decimal QuantityDemand6 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量7
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand7")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量7")] |
|
|
|
public decimal QuantityDemand7 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量8
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand8")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量8")] |
|
|
|
public decimal QuantityDemand8 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量9
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand9")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量9")] |
|
|
|
public decimal QuantityDemand9 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量10
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand10")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量10")] |
|
|
|
public decimal QuantityDemand10 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量11
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand11")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量11")] |
|
|
|
public decimal QuantityDemand11 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量12
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("quantityDemand12")] |
|
|
|
[ExporterHeader(DisplayName = "需求数量12")] |
|
|
|
public int QuantityDemand12 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -589,6 +631,7 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("isUpdate")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "数据变更标识")] |
|
|
|
public string? IsUpdate { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -596,12 +639,14 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "创建人")] |
|
|
|
public string? CreateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("createTime")] |
|
|
|
[ExporterHeader(DisplayName = "创建时间")] |
|
|
|
public DateTime CreateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -609,69 +654,47 @@ namespace TaskManager.Entity |
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateByUser")] |
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "修改人")] |
|
|
|
public string? UpdateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改时间
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("updateTime")] |
|
|
|
[ExporterHeader(DisplayName = "修改时间")] |
|
|
|
public DateTime UpdateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否删除(0:否,1是)
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("isDelete")] |
|
|
|
[ExporterHeader(DisplayName = "删除状态")] |
|
|
|
public int IsDelete { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 版本号
|
|
|
|
/// </summary>
|
|
|
|
[JsonPropertyName("version")] |
|
|
|
[ExporterHeader(DisplayName = "版本号")] |
|
|
|
public int Version { get; set; } = 0; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/// <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 |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求发布版次(用于接口反馈数据的唯一标识)
|
|
|
|
/// 字符串长度限制:50 字节
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "需求发布版次")] |
|
|
|
[StringLength(50)] // 使用数据注解限制长度(需引用 System.ComponentModel.DataAnnotations)
|
|
|
|
public string? ReleaseEdition { get; set; } = string.Empty; |
|
|
|
|
|
|
@ -679,6 +702,7 @@ namespace TaskManager.Entity |
|
|
|
/// 奇瑞零件号
|
|
|
|
/// 字符串长度限制:50 字节
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "奇瑞零件号")] |
|
|
|
[StringLength(50)] |
|
|
|
public string? MaterialCode { get; set; } = string.Empty; |
|
|
|
|
|
|
@ -686,6 +710,7 @@ namespace TaskManager.Entity |
|
|
|
/// 零件名称
|
|
|
|
/// 字符串长度限制:50 字节
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "零件名称")] |
|
|
|
[StringLength(50)] |
|
|
|
public string? MaterialDescription { get; set; } = string.Empty; |
|
|
|
|
|
|
@ -693,6 +718,7 @@ namespace TaskManager.Entity |
|
|
|
/// 工厂代码
|
|
|
|
/// 字符串长度限制:50 字节
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "工厂代码")] |
|
|
|
[StringLength(50)] |
|
|
|
public string? PlantId { get; set; } = string.Empty; |
|
|
|
|
|
|
@ -700,96 +726,170 @@ namespace TaskManager.Entity |
|
|
|
/// 工厂名称
|
|
|
|
/// 字符串长度限制:50 字节
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "工厂名称")] |
|
|
|
[StringLength(50)] |
|
|
|
public string? PlantName { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求起始日期(格式:yyyy-MM-dd)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "需求起始日期")] |
|
|
|
public DateTime StartDate { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求起始日期的需求数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "第1天需求数量")] |
|
|
|
public int QuantityDemand1 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 起始日期+1天的需求数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "第2天需求数量")] |
|
|
|
public int QuantityDemand2 { get; set; } = 1; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 起始日期+2天的需求数量(以此类推)
|
|
|
|
/// </summary>
|
|
|
|
public int QuantityDemand3 { get; set; } = 1; |
|
|
|
[ExporterHeader(DisplayName = "第3天需求数量")] |
|
|
|
public decimal QuantityDemand3 { get; set; } = 0; |
|
|
|
|
|
|
|
// 省略 QuantityDemand4 至 QuantityDemand31 的重复注释(格式与上述一致)
|
|
|
|
[ExporterHeader(DisplayName = "第4天需求数量")] |
|
|
|
public decimal QuantityDemand4 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第5天需求数量")] |
|
|
|
public decimal QuantityDemand5 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第6天需求数量")] |
|
|
|
public decimal QuantityDemand6 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第7天需求数量")] |
|
|
|
public decimal QuantityDemand7 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第8天需求数量")] |
|
|
|
public decimal QuantityDemand8 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第9天需求数量")] |
|
|
|
public decimal QuantityDemand9 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第10天需求数量")] |
|
|
|
public decimal QuantityDemand10 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第11天需求数量")] |
|
|
|
public decimal QuantityDemand11 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第12天需求数量")] |
|
|
|
public decimal QuantityDemand12 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第13天需求数量")] |
|
|
|
public decimal QuantityDemand13 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第14天需求数量")] |
|
|
|
public decimal QuantityDemand14 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第15天需求数量")] |
|
|
|
public decimal QuantityDemand15 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第16天需求数量")] |
|
|
|
public decimal QuantityDemand16 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第17天需求数量")] |
|
|
|
public decimal QuantityDemand17 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第18天需求数量")] |
|
|
|
public decimal QuantityDemand18 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第19天需求数量")] |
|
|
|
public decimal QuantityDemand19 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第20天需求数量")] |
|
|
|
public decimal QuantityDemand20 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第21天需求数量")] |
|
|
|
public decimal QuantityDemand21 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第22天需求数量")] |
|
|
|
public decimal QuantityDemand22 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第23天需求数量")] |
|
|
|
public decimal QuantityDemand23 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第24天需求数量")] |
|
|
|
public decimal QuantityDemand24 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第25天需求数量")] |
|
|
|
public decimal QuantityDemand25 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第26天需求数量")] |
|
|
|
public decimal QuantityDemand26 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第27天需求数量")] |
|
|
|
public decimal QuantityDemand27 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第28天需求数量")] |
|
|
|
public decimal QuantityDemand28 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第29天需求数量")] |
|
|
|
public decimal QuantityDemand29 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第30天需求数量")] |
|
|
|
public decimal QuantityDemand30 { get; set; } = 0; |
|
|
|
|
|
|
|
[ExporterHeader(DisplayName = "第31天需求数量")] |
|
|
|
public decimal QuantityDemand31 { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数据变更标识(1=更新需求,0=未变更)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "数据变更标识")] |
|
|
|
public string? IsUpdate { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建人(字符串长度默认 50 字节)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "创建人")] |
|
|
|
[StringLength(50)] |
|
|
|
public string? CreateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间(自动填充当前时间)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "创建时间")] |
|
|
|
public DateTime CreateTime { get; set; } = DateTime.Now; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改人(字符串长度默认 50 字节)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "修改人")] |
|
|
|
[StringLength(50)] |
|
|
|
public string? UpdateByUser { get; set; } = string.Empty; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改时间(自动更新为最后修改时间)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "修改时间")] |
|
|
|
public DateTime UpdateTime { get; set; } = DateTime.Now; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 删除标识(0=未删除,1=已删除)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "删除标识")] |
|
|
|
public int IsDelete { get; set; } = 1; // 默认已删除(根据原始数据默认值)
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 数据版本号(乐观锁控制)
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "数据版本号")] |
|
|
|
public int Version { get; set; } = 1; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/// <summary>
|
|
|
@ -850,83 +950,97 @@ namespace TaskManager.Entity |
|
|
|
/// <summary>
|
|
|
|
/// 计划协议号
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "计划协议号")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string? ScheduleAgreement { get; set; } = ""; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 行项目号
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "行项目号")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string? SerialNumber { get; set; } = ""; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件号:奇瑞零件号
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "零件号")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string? MaterialCode { get; set; } = ""; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 零件名称
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "零件名称")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string? MaterialDescription { get; set; } = ""; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 采购组
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "采购组")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string? PurchasingGroup { get; set; } = ""; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 工厂代码
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "工厂代码")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string? PlantId { get; set; } = ""; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 需求数量
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "需求数量")] |
|
|
|
public decimal? QuantityDemand { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 交货日期-格式:yyyy-MM-dd
|
|
|
|
/// </summary>
|
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "交货日期")] |
|
|
|
public DateTime? DateReceived { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建人
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "创建人")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string? CreateByUser { get; set; } = ""; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 创建时间
|
|
|
|
/// </summary>
|
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "创建时间")] |
|
|
|
public DateTime? CreateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改人
|
|
|
|
/// </summary>
|
|
|
|
[ExporterHeader(DisplayName = "修改人")] |
|
|
|
[MaxLength(50)] |
|
|
|
public string? UpdateByUser { get; set; } = ""; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 修改时间
|
|
|
|
/// </summary>
|
|
|
|
[MaxLength(50)] |
|
|
|
[ExporterHeader(DisplayName = "修改时间")] |
|
|
|
public DateTime? UpdateTime { get; set; } |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 是否删除(0:否,1是)
|
|
|
|
/// </summary>
|
|
|
|
public int IsDelete { get; set; } = 1; |
|
|
|
[ExporterHeader(DisplayName = "删除标识")] |
|
|
|
public int IsDelete { get; set; } = 0; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// 版本号
|
|
|
|
/// </summary>
|
|
|
|
public int Version { get; set; } = 1; |
|
|
|
[ExporterHeader(DisplayName = "版本号")] |
|
|
|
public int Version { get; set; } = 0; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|