payne
2024-04-25 bf915c71f7ab3fcd9a7f81ed18f3a10c68d50dc0
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
/*
 * @author : 刘文奇
 * @date : 2024/4/23下午4:07:57
 * @desc : 客户档案
 */
namespace Admin.NET.Core
{
    /// <summary>
    /// 客户档案
    /// </summary>
    [Table("base_customer")]
    [Comment("客户档案")]
    public class BaseCustomer : DEntityBase
    {
 
 
        /// <summary>
        /// 客户编号
        /// </summary>
        [Comment("客户编号")]
        [Required]
        [MaxLength(50)]
        public string CustCode { get; set; }
 
 
        /// <summary>
        /// 客户中文名称
        /// </summary>
        [Comment("客户中文名称")]
        [Required]
        [MaxLength(255)]
        public string CustChinaName { get; set; }
 
 
        /// <summary>
        /// 客户英文名称
        /// </summary>
        [Comment("客户英文名称")]
        [MaxLength(255)]
        public string CustEnglishName { get; set; }
 
 
        /// <summary>
        /// 助记码
        /// </summary>
        [Comment("助记码")]
        [MaxLength(255)]
        public string MnemonicCode { get; set; }
 
 
        /// <summary>
        /// 类型
        /// </summary>
        [Comment("类型")]
        [Required]
 
        public BaseCustomerTypeEnum CustType { get; set; }
 
 
        /// <summary>
        /// 类型名称
        /// </summary>
        [Comment("类型名称")]
        [Required]
        [MaxLength(50)]
        public string CustTypeName { get; set; }
 
 
        /// <summary>
        /// 联系人
        /// </summary>
        [Comment("联系人")]
        [MaxLength(50)]
        public string LinkMan { get; set; }
 
 
        /// <summary>
        /// 电话
        /// </summary>
        [Comment("电话")]
        [MaxLength(50)]
        public string Phone { get; set; }
 
 
        /// <summary>
        /// 电子邮件
        /// </summary>
        [Comment("电子邮件")]
        [MaxLength(50)]
        public string Email { get; set; }
 
 
        /// <summary>
        /// 邮编
        /// </summary>
        [Comment("邮编")]
        [MaxLength(50)]
        public string ZipCode { get; set; }
 
 
        /// <summary>
        /// 省份
        /// </summary>
        [Comment("省份")]
        [MaxLength(50)]
        public string Province { get; set; }
 
 
        /// <summary>
        /// 城市
        /// </summary>
        [Comment("城市")]
        [MaxLength(50)]
        public string City { get; set; }
 
 
        /// <summary>
        /// 地址
        /// </summary>
        [Comment("地址")]
        [MaxLength(255)]
        public string Address { get; set; }
 
 
        /// <summary>
        /// 是否禁用
        /// </summary>
        [Comment("是否禁用")]
        [Required]
 
        public bool IsDisabled { get; set; }
 
 
 
 
 
 
 
 
 
    }
}