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; } /// /// /// public string StandType { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string ItemType { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string Type { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string ItemSourceType { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string Unit { get; set; } /// /// /// public string MaterialVersion { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int Size { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public float Length { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public float Thickness { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public float Wide { get; set; } /// /// /// public string Model { get; set; } /// /// /// public string Color { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] 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; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string State { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public string InvOrgId { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = false)] public string OperateType { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = false)] public string UserDef01 { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = false)] public string UserDef04 { get; set; } /// /// /// [PropertyValidate("", NotNullAndEmpty = true)] public int IsCheck { get; set; } /// /// /// public string WaId { get; set; } } }