using Mapster;
namespace Model
{
///
/// 数据字段 database_field
///
[SugarTable("database_field", "数据字段")]
[Tenant("0")]
public class DatabaseField
{
///
/// 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 = "数据表", ColumnName = "table_id")]
public int tableId { get; set; }
///
/// 选项卡
///
[SugarColumn(ColumnDescription = "选项卡", ColumnName = "tab_id")]
public int tabId { get; set; }
///
/// 字段标题
///
[SugarColumn(ColumnDescription = "字段标题", Length = 50, ColumnName = "field_title")]
public string? fieldTitle { get; set; }
///
/// 字段名
///
[SugarColumn(ColumnDescription = "字段名", Length = 50, ColumnName = "field_name")]
public string? fieldName { get; set; }
///
/// 字段类型
///
[SugarColumn(ColumnDescription = "字段类型", Length = 20, ColumnName = "field_type")]
public string? fieldType { get; set; }
///
/// 字段长度
///
[SugarColumn(ColumnDescription = "字段长度", Length = 10, ColumnName = "field_length")]
public string? fieldLength { get; set; }
///
/// 字段默认值
///
[SugarColumn(ColumnDescription = "字段默认值", Length = 50, ColumnName = "field_default_value")]
public string? fieldDefaultValue { get; set; }
///
/// 字段说明
///
[SugarColumn(ColumnDescription = "字段说明", Length = 255, ColumnName = "field_detail")]
public string? fieldDetail { get; set; }
///
/// 编辑类型
///
[SugarColumn(ColumnDescription = "编辑类型", Length = 20, ColumnName = "edit_type")]
public string? editType { get; set; }
///
/// 验证属性
///
[SugarColumn(ColumnDescription = "验证属性", Length = 255, ColumnName = "validate_attribute")]
public string? validateAttribute { get; set; }
///
/// 主键
///
[SugarColumn(ColumnDescription = "主键", ColumnName = "primary_key")]
public bool primaryKey { get; set; }
///
/// 自动增长
///
[SugarColumn(ColumnDescription = "自动增长", ColumnName = "auto_increment")]
public bool autoIncrement { get; set; }
///
/// 分表字段
///
[SugarColumn(ColumnDescription = "分表字段", ColumnName = "split_flag")]
public bool splitFlag { get; set; }
///
/// 列表显示
///
[SugarColumn(ColumnDescription = "列表显示", ColumnName = "show_list")]
public bool showList { get; set; }
///
/// 查询条件
///
[SugarColumn(ColumnDescription = "查询条件", ColumnName = "show_query")]
public bool showQuery { get; set; }
///
/// 是否编辑
///
[SugarColumn(ColumnDescription = "是否编辑", ColumnName = "show_edit")]
public bool showEdit { get; set; }
///
/// 检查重复
///
[SugarColumn(ColumnDescription = "检查重复", ColumnName = "check_repeat")]
public bool checkRepeat { get; set; }
///
/// 导出标记
///
[SugarColumn(ColumnDescription = "导出标记", ColumnName = "export_flag")]
public bool exportFlag { get; set; }
///
/// 导入标记
///
[SugarColumn(ColumnDescription = "导入标记", ColumnName = "import_flag")]
public bool importFlag { get; set; }
///
/// 列表编辑
///
[SugarColumn(ColumnDescription = "列表编辑", ColumnName = "list_edit_flag")]
public bool listEditFlag { get; set; }
///
/// 列表编辑提示文字
///
[SugarColumn(ColumnDescription = "列表编辑提示文字", Length = 50, ColumnName = "list_edit_placeholder")]
public string? listEditPlaceholder { get; set; }
///
/// 统计条件字段
///
[SugarColumn(ColumnDescription = "统计条件字段", ColumnName = "stat_condition")]
public bool statCondition { get; set; }
///
/// 统计数据字段
///
[SugarColumn(ColumnDescription = "统计数据字段", ColumnName = "stat_data")]
public bool statData { get; set; }
}
}