schangxiang@126.com
2025-05-20 bb46e7c37ddbdf44e4a7b729b608b39a3561f1e4
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace GenerateCode_GEBrilliantFactory
{
    /// <summary>
    /// 列对象
    /// </summary>
    public class ColumnModel
    {
        /// <summary>
        /// 列名
        /// </summary>
        public string ColumnName { get; set; }
 
        /// <summary>
        /// 数据类型
        /// </summary>
        public string DataType { get; set; }
 
        /// <summary>
        /// 注释
        /// </summary>
        public string Description { get; set; }
 
        /// <summary>
        /// 字段长度
        /// </summary>
        public string DataLength { get; set; }
 
        /// <summary>
        /// 是否可为null
        /// </summary>
        public bool IsNullable { get; set; }
 
        /// <summary>
        /// 是否是主键
        /// </summary>
        public bool IsPrimaryKey { get; set; }
 
        public int? MyPrecision { get; set; }
 
        public int Scale { get; set; }
    }
}