using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; using WIDESEA_DTO.Basic; namespace WIDESEA_DTO.ERP { [ModelValidate] public class ErpOutOrder { /// /// /// public string From { get; set; } /// /// /// public string DateTime { get; set; } /// /// /// [PropertyValidate("物料列表", NotNullAndEmpty = true)] public ErpOutOrderDTO Content { get; set; } } [ModelValidate] public class ErpOutOrderDTO { public int Way { get; set; } public string RowNo { get; set; } public string OrderNo { get; set; } public string WaId { get; set; } public int OType { get; set; } public string MCode { get; set; } public string MLot { get; set; } public float Qty { get; set; } public string Unit { get; set; } public string OrderData { get; set; } public string Node { get; set; } public string DepartmentCode { get; set; } public string DepartmentName { get; set; } } }