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 CustomerInfoDTO { /// /// 客户编码 /// [PropertyValidate("", NotNullAndEmpty = true)] public string Code { get; set; } /// /// 客户全称 /// [PropertyValidate("", NotNullAndEmpty = true)] public string Name { get; set; } /// /// 客户简称 /// [PropertyValidate("", NotNullAndEmpty = true)] public string ShortName { get; set; } /// /// 状态 /// [PropertyValidate("", NotNullAndEmpty = true)] public bool State { get; set; } /// /// 操作类型 /// [PropertyValidate("", NotNullAndEmpty = true)] public string OperateType { get; set; } } }