using Mapster; using Util; namespace Model.Source { /// /// 数据表 database_table /// public class DatabaseTable { /// /// ID /// public int id { get; set; } /// /// 版本号 /// public int version { get; set; } /// /// 删除标记 /// public int delFlag { get; set; } /// /// 创建时间 /// public DateTime? createTime { get; set; } /// /// 更新时间 /// public DateTime? updateTime { get; set; } /// /// 创建人 /// public string? createBy { get; set; } /// /// 更新人 /// public string? updateBy { get; set; } /// /// 数据库 /// public int databaseId { get; set; } /// /// 表标题 /// public string? tableTitle { get; set; } /// /// 表名 /// public string? tableName { get; set; } public string? tableNameUpper { get { return PublicFunction.transferName(tableName); } } public string? tableNameFirstUpper { get { return PublicFunction.transferName(tableName, 1); } } /// /// 默认字段 /// public bool defaultField { get; set; } /// /// 导出功能 /// public bool exportModule { get; set; } /// /// 导入功能 /// public bool importModule { get; set; } /// /// 统计功能 /// public bool statModule { get; set; } /// /// 分表类型 /// public int splitKind { get; set; } public List fields { get; set; } } }