using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; using static WIDESEA_DTO.ErpResponseContent; namespace WIDESEA_DTO.Basic { [ModelValidate] public class MaterielInfo { /// /// /// public string message { get; set; } /// /// /// 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 string Type { get; set; } /// /// /// public int ItemSourceType { get; set; } /// /// /// public string Unit { get; set; } /// /// /// public string MaterialVersion { get; set; } /// /// /// public int Size { get; set; } /// /// /// public int Length { get; set; } /// /// /// public int Thickness { get; set; } /// /// /// public int Wide { get; set; } /// /// /// public string Model { get; set; } /// /// /// public string Color { get; set; } /// /// /// public string MaterialTG { get; set; } /// /// /// public string Spare1 { get; set; } /// /// /// public string Spare2 { get; set; } /// /// /// public string Spare3 { get; set; } /// /// /// public string Spare4 { get; set; } /// /// /// public string Spare5 { get; set; } /// /// /// public int State { get; set; } /// /// /// public string InvOrgId { get; set; } /// /// /// public int OperateType { get; set; } /// /// /// public string UserDef01 { get; set; } /// /// /// public string UserDef04 { get; set; } /// /// /// public int IsCheck { get; set; } /// /// /// public string WaId { get; set; } } }