using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; namespace WIDESEA_DTO.ERP { [ModelValidate()] public class MaterielInfoDTO { /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string Code { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string Name { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string StandType { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int ItemType { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string Type { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int ItemSourceType { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string Unit { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string MaterialVersion { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int Size { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int Length { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int Thickness { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int Wide { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string Model { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string Color { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string MaterialTG { get; set; } ///// ///// ///// //[PropertyValidate("", NotNullAndEmpty = true)] //public string Spare1 { get; set; } ///// ///// ///// //[PropertyValidate("", NotNullAndEmpty = true)] //public string Spare2 { get; set; } ///// ///// ///// //[PropertyValidate("", NotNullAndEmpty = true)] //public string Spare3 { get; set; } ///// ///// ///// //[PropertyValidate("", NotNullAndEmpty = true)] //public string Spare4 { get; set; } ///// ///// ///// //[PropertyValidate("", NotNullAndEmpty = true)] //public string Spare5 { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int State { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string InvOrgId { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int OperateType { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string UserDef01 { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string UserDef04 { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int IsCheck { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string WaId { get; set; } } }