using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; namespace WIDESEA_DTO.Basic { [ModelValidate] public class MaterielInfo { /// /// /// public string From { get; set; } /// /// /// public string DateTime { get; set; } /// /// /// [PropertyValidate("物料列表", NotNullAndEmpty = true)] public MaterielInfoDTO Content { get; set; } } [ModelValidate] public class MaterielInfoDTO { public string Code { get; set; } public string Name { get; set; } public string StandType { get; set; } public int ItemType { get; set; } public int ItemSourceType { get; set; } public string Unit { get; set; } public string MaterialVersion { get; set; } public float Size { get; set; } public float Length { get; set; } public float Thickness { get; set; } public float Wide { get; set; } public string Model { get; set; } public int State { get; set; } public string InvOrgId { get; set; } public int OperateType { get; set; } public int IsCheck { get; set; } public int WaId { get; set; } } }