ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
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
147
148
149
150
151
152
153
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
 
namespace iWare.Wms.Core
{
    /// <summary>
    /// 代码生成字段配置表
    /// </summary>
    [Table("sys_code_gen_config")]
    [Comment("代码生成字段配置表")]
    public class SysCodeGenConfig : DEntityBase
    {
        /// <summary>
        /// 代码生成主表ID
        /// </summary>
        [Comment("代码生成主表ID")]
        public long CodeGenId { get; set; }
 
        /// <summary>
        /// 数据库字段名
        /// </summary>
        [Comment("数据库字段名")]
        [Required, MaxLength(100)]
        public string ColumnName { get; set; }
 
        /// <summary>
        /// 字段描述
        /// </summary>
        [Comment("字段描述")]
        [MaxLength(100)]
        public string ColumnComment { get; set; }
 
        /// <summary>
        /// .NET数据类型
        /// </summary>
        [Comment(".NET数据类型")]
        [MaxLength(50)]
        public string NetType { get; set; }
 
        /// <summary>
        /// .NET数据类型(接口传入)
        /// </summary>
        [Comment(".NET数据类型(接口传入)")]
        [MaxLength(50)]
        public string DtoNetType { get; set; }
 
        /// <summary>
        /// 作用类型(字典)
        /// </summary>
        [Comment("作用类型")]
        [MaxLength(50)]
        public string EffectType { get; set; }
 
        /// <summary>
        /// 外键实体名称
        /// </summary>
        [Comment("外键实体名称")]
        [MaxLength(50)]
        public string FkEntityName { get; set; }
 
        /// <summary>
        /// 外键显示字段
        /// </summary>
        [Comment("外键显示字段")]
        [MaxLength(50)]
        public string FkColumnName { get; set; }
 
        /// <summary>
        /// 外键显示字段.NET类型
        /// </summary>
        [Comment("外键显示字段.NET类型")]
        [MaxLength(50)]
        public string FkColumnNetType { get; set; }
 
        /// <summary>
        /// 字典code
        /// </summary>
        [Comment("字典Code")]
        [MaxLength(50)]
        public string DictTypeCode { get; set; }
 
        /// <summary>
        /// 列表是否缩进(字典)
        /// </summary>
        [Comment("列表是否缩进")]
        [MaxLength(5)]
        public string WhetherRetract { get; set; }
 
        /// <summary>
        /// 是否必填(字典)
        /// </summary>
        [Comment("是否必填")]
        [MaxLength(5)]
        public string WhetherRequired { get; set; }
 
        /// <summary>
        /// 是否是查询条件
        /// </summary>
        [Comment("是否是查询条件")]
        [MaxLength(5)]
        public string QueryWhether { get; set; }
 
        /// <summary>
        /// 查询方式
        /// </summary>
        [Comment("查询方式")]
        [MaxLength(10)]
        public string QueryType { get; set; }
 
        /// <summary>
        /// 列表显示
        /// </summary>
        [Comment("列表显示")]
        [MaxLength(5)]
        public string WhetherTable { get; set; }
 
        /// <summary>
        /// 列表是否排序
        /// </summary>
        [Comment("列表是否排序")]
        [MaxLength(5)]
        public string WhetherOrderBy { get; set; }
 
        /// <summary>
        /// 增改
        /// </summary>
        [Comment("增改")]
        [MaxLength(5)]
        public string WhetherAddUpdate { get; set; }
 
        /// <summary>
        /// 主键
        /// </summary>
        [Comment("主键")]
        [MaxLength(5)]
        public string ColumnKey { get; set; }
 
        /// <summary>
        /// 数据库中类型(物理类型)
        /// </summary>
        [Comment("数据库中类型")]
        [MaxLength(128)]
        public string DataType { get; set; }
 
        /// <summary>
        /// 是否通用字段
        /// </summary>
        [Comment("是否通用字段")]
        [MaxLength(5)]
        public string WhetherCommon { get; set; }
    }
}