namespace MiaoYu.Core.CodeGenerator.Models; /// /// 低代码表列信息(不依赖数据库实体) /// public class LowCodeTableInfo { /// /// 主键 /// public bool IsPrimary { get; set; } /// /// 自增标识 /// public bool IsIdentity { get; set; } /// /// 是否可DBNull /// public bool IsNullable { get; set; } /// /// 字段位置 /// public int Position { get; set; } /// /// 列名 /// public string? ColumnName { get; set; } /// /// 列描述 /// public string? Describe { get; set; } /// /// 数据库列类型 /// public string? DatabaseColumnType { get; set; } /// /// c# 数据类型 /// public string? CsType { get; set; } /// /// c# 字段 /// public string? CsField { get; set; } /// /// 最大长度 /// public int? MaxLength { get; set; } /// /// 显示名称 /// public string? DisplayName { get; set; } /// /// 是否查询 /// public bool? IsTableSelect { get; set; } /// /// 是否是图片Id /// public bool? IsImageId { get; set; } /// /// 是否显示在Column上 /// public bool? IsTableColumnShow { get; set; } /// /// 宽度 /// public string? Width { get; set; } /// /// 排序 /// public int? OrderById { get; set; } }