using Mapster; namespace Model { /// /// 数据表 database_table /// [SugarTable("database_table", "数据表")] [Tenant("0")] public class DatabaseTable { /// /// ID /// [SugarColumn(ColumnDescription = "ID", IsPrimaryKey = true, IsIdentity = true, ColumnName = "id")] public int id { get; set; } /// /// 版本号 /// [SugarColumn(ColumnDescription = "版本号", ColumnName = "version")] public int version { get; set; } /// /// 删除标记 /// [SugarColumn(ColumnDescription = "删除标记", ColumnName = "del_flag")] public int delFlag { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDescription = "创建时间", ColumnName = "create_time")] public DateTime? createTime { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnDescription = "更新时间", ColumnName = "update_time")] public DateTime? updateTime { get; set; } /// /// 创建人 /// [SugarColumn(ColumnDescription = "创建人", Length = 32, ColumnName = "create_by")] public string? createBy { get; set; } /// /// 更新人 /// [SugarColumn(ColumnDescription = "更新人", Length = 32, ColumnName = "update_by")] public string? updateBy { get; set; } /// /// 数据库 /// [SugarColumn(ColumnDescription = "数据库", ColumnName = "database_id")] public int databaseId { get; set; } /// /// 表标题 /// [SugarColumn(ColumnDescription = "表标题", Length = 50, ColumnName = "table_title")] public string? tableTitle { get; set; } /// /// 表名 /// [SugarColumn(ColumnDescription = "表名", Length = 50, ColumnName = "table_name")] public string? tableName { get; set; } /// /// 默认字段 /// [SugarColumn(ColumnDescription = "默认字段", ColumnName = "default_field")] public bool defaultField { get; set; } /// /// 导出功能 /// [SugarColumn(ColumnDescription = "导出功能", ColumnName = "export_module")] public bool exportModule { get; set; } /// /// 导入功能 /// [SugarColumn(ColumnDescription = "导入功能", ColumnName = "import_module")] public bool importModule { get; set; } /// /// 统计功能 /// [SugarColumn(ColumnDescription = "统计功能", ColumnName = "stat_module")] public bool statModule { get; set; } /// /// 分表类型 /// [SugarColumn(ColumnDescription = "分表类型", ColumnName = "split_kind")] public int splitKind { get; set; } } }