wangxinhui
2025-10-17 ce40df5daffae0d17b4e9fa7cb6d677afaa4d66f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
 
namespace WIDESEA_DTO.Basic
{
    /// <summary>
    /// 二期ERP客户接收实体
    /// </summary>
    [ModelValidate]
    public class ERPCustomerDTO
    {
        /// <summary>
        /// 操作类型
        /// </summary>
        [PropertyValidate("操作类型", NotNullAndEmpty = true, Check = new object[] { 1, 2, 3 })]
        public int OperateType { get; set; }
 
        /// <summary>
        /// 客户编码
        /// </summary>
        [PropertyValidate("客户编码", NotNullAndEmpty = true)]
        public string CustomerCode { get; set; }
 
        /// <summary>
        /// 客户名称
        /// </summary>
        [PropertyValidate("客户名称", NotNullAndEmpty = true)]
        public string CustomerName { get; set; }
 
        /// <summary>
        /// 客户简称
        /// </summary>
        [PropertyValidate("客户简称", NotNullAndEmpty = true)]
        public string ShortName { get; set; }
 
        /// <summary>
        /// 状态
        /// </summary>
        [PropertyValidate("状态", NotNullAndEmpty = true)]
        public int State { get; set; }
    }
}