|
|
@@ -109,22 +109,29 @@ public class AdoS0CategoryLeadTimeUpsertDto
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "工厂不能为空")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? DomainCode { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "品类编码不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string CategoryCode { get; set; } = string.Empty;
|
|
|
|
|
|
+ [MaxLength(200)]
|
|
|
public string? CategoryName { get; set; }
|
|
|
|
|
|
[Required(ErrorMessage = "物料属性不能为空")]
|
|
|
+ [MaxLength(100)]
|
|
|
public string OwnerApplication { get; set; } = string.Empty;
|
|
|
|
|
|
[Range(0, int.MaxValue, ErrorMessage = "采购前置期不能为负")]
|
|
|
public int LeadTimeDays { get; set; }
|
|
|
|
|
|
+ [MaxLength(500)]
|
|
|
public string? Remarks { get; set; }
|
|
|
public bool IsActive { get; set; } = true;
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|
|
|
|
|
|
@@ -162,19 +169,25 @@ public class AdoS0SrmPurchaseUpsertDto
|
|
|
[Range(0, long.MaxValue, ErrorMessage = "工厂不能为空")]
|
|
|
public long FactoryRefId { get; set; }
|
|
|
|
|
|
+ [MaxLength(50)]
|
|
|
public string? DomainCode { get; set; }
|
|
|
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "物料不能为空")]
|
|
|
public long IcitemId { get; set; }
|
|
|
|
|
|
+ [MaxLength(200)]
|
|
|
public string? IcitemName { get; set; }
|
|
|
+ [MaxLength(50)]
|
|
|
public string? SupplierType { get; set; }
|
|
|
+ [MaxLength(64)]
|
|
|
public string? IsActive { get; set; }
|
|
|
|
|
|
[Range(1, long.MaxValue, ErrorMessage = "供应商不能为空")]
|
|
|
public long SupplierId { get; set; }
|
|
|
|
|
|
+ [MaxLength(200)]
|
|
|
public string? SupplierName { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? SupplierNumber { get; set; }
|
|
|
|
|
|
public decimal? OrderPrice { get; set; }
|
|
|
@@ -182,6 +195,7 @@ public class AdoS0SrmPurchaseUpsertDto
|
|
|
public decimal? Taxrate { get; set; }
|
|
|
public decimal? Tariff { get; set; }
|
|
|
public decimal? Freight { get; set; }
|
|
|
+ [MaxLength(200)]
|
|
|
public string? PriceTerms { get; set; }
|
|
|
public DateTime? EffectiveDate { get; set; }
|
|
|
public DateTime? ExpiringDate { get; set; }
|
|
|
@@ -189,11 +203,15 @@ public class AdoS0SrmPurchaseUpsertDto
|
|
|
public decimal? LeadTime { get; set; }
|
|
|
public decimal? QtyMin { get; set; }
|
|
|
public decimal? PackagingQty { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? OrderRectorName { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? OrderRectorNum { get; set; }
|
|
|
public int IsRequireGoods { get; set; }
|
|
|
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|
|
|
|
|
|
@@ -231,7 +249,9 @@ public class AdoS0MaterialPlanCycleUpsertDto
|
|
|
public string? Remarks { get; set; }
|
|
|
|
|
|
public bool IsActive { get; set; } = true;
|
|
|
+ [MaxLength(100)]
|
|
|
public string? CreateUser { get; set; }
|
|
|
+ [MaxLength(100)]
|
|
|
public string? UpdateUser { get; set; }
|
|
|
}
|
|
|
|