using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.Attributes; namespace WIDESEA_DTO.Basic { /// /// 二期ERP客户接收实体 /// [ModelValidate] public class ERPCustomerDTO { /// /// 操作类型 /// [PropertyValidate("操作类型", NotNullAndEmpty = true, Check = new object[] { 1, 2, 3 })] public int OperateType { get; set; } /// /// 客户编码 /// [PropertyValidate("客户编码", NotNullAndEmpty = true)] public string CustomerCode { get; set; } /// /// 客户名称 /// [PropertyValidate("客户名称", NotNullAndEmpty = true)] public string CustomerName { get; set; } /// /// 客户简称 /// [PropertyValidate("客户简称", NotNullAndEmpty = true)] public string ShortName { get; set; } /// /// 状态 /// [PropertyValidate("状态", NotNullAndEmpty = true)] public int State { get; set; } } }