|
|
@@ -153,21 +153,32 @@ public class AdoS0ItemMasterUpsertDto
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? DomainCode { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "物料编码不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string ItemNum { get; set; } = string.Empty;
|
|
|
|
|
|
[Required(ErrorMessage = "物料名称不能为空")]
|
|
|
+ [MaxLength(200)]
|
|
|
public string Descr { get; set; } = string.Empty;
|
|
|
|
|
|
+ [MaxLength(200)]
|
|
|
public string? Descr1 { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? PkgCode { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? UM { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? PurMfg { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? Drawing { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? ItemType { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? Location { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? DefaultShelf { get; set; }
|
|
|
public bool KeyItem { get; set; }
|
|
|
|
|
|
@@ -177,6 +188,7 @@ public class AdoS0ItemMasterUpsertDto
|
|
|
[Range(typeof(decimal), "0", "9999999999999.99999",
|
|
|
ErrorMessage = "净重不能为负,且不能超过技术允许范围(decimal(18,5))")]
|
|
|
public decimal? NetWeight { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? NetWeightUM { get; set; }
|
|
|
public bool Inspect { get; set; }
|
|
|
public int? PurLT { get; set; }
|
|
|
@@ -184,11 +196,15 @@ public class AdoS0ItemMasterUpsertDto
|
|
|
public int? MfgLT { get; set; }
|
|
|
public decimal? Length { get; set; }
|
|
|
public decimal? Size { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? SizeUM { get; set; }
|
|
|
public bool IssuePolicy { get; set; }
|
|
|
public int? MfgMttr { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? LocationType { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CommodityCode { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? Rev { get; set; }
|
|
|
public decimal? MaxOrd { get; set; }
|
|
|
public decimal? MinOrd { get; set; }
|
|
|
@@ -202,23 +218,32 @@ public class AdoS0ItemMasterUpsertDto
|
|
|
public decimal? StockTurnOver { get; set; }
|
|
|
public bool LotSerialControl { get; set; }
|
|
|
public bool AllocateSingleLot { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? Status { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? Planner { get; set; }
|
|
|
public bool TraceDetail { get; set; }
|
|
|
public bool IsMainMas { get; set; }
|
|
|
+ [MaxLength(1000)]
|
|
|
public string? Remark { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? EMTType { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? OwnerApplication { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? BomVersion { get; set; }
|
|
|
public bool EnableBomVersion { get; set; }
|
|
|
public int? BOMDesign { get; set; }
|
|
|
public int? RoutingDes { get; set; }
|
|
|
public bool CustSupplied { get; set; }
|
|
|
public int? DrawingDesign { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? DesignOwner { get; set; }
|
|
|
public bool IsActive { get; set; } = true;
|
|
|
public bool IsConfirm { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|
|
|
|