import { BasePo, BusinessPO } from '../common/base' export interface DynamicFormTable extends BusinessPO { // 表单编号(唯一) tableName: string // 表单名称(中文) tableComment: string // 表类型、模块 tableType: string // 表内容 tableContent: string } /** * 动态表单-详情 */ export interface DynamicFormTableVo extends DynamicFormTable { // 字段列表 columnList: Array } export interface DynamicFormTableColumn extends BasePo { // 动态表id fkTableId: string // 表单编号 tableName: string // 字段编号(唯一) columnName: string // 字段类型key:基础类型,高级类型,动态表,数据字典 columnKeyId: string // 字段类型key 1=基础类型 2=高级类型 3=动态表 4=数据字典 columnKeyType: 1 | 2 | 3 | 4 // 显示内容 showTextField?: string // 数据库字段类型:VARCHAR、TINYINT、INT、TEXT、datetime、date columnType: string // 数据库字段大小 columnSize: string // 字段索引 columnKey: string // 默认值:CURRENT_TIMESTAMP defaultValue: string // 是否必填,0否1是 isRequired: 0 | 1 // 字段名称(中文) columnComment: string // 显示类型:0不显示,1列表显示,2表单显示,3详情显示 showType: number // 查询条件:0不显示,1精确查询,2模糊查询 searchType: number // 修改状态:0可修改,1不可修改 updateType: 0 | 1 // 排序 scoreCode: number } /** * 动态字段vo */ export interface DynamicFormTableColumnVo extends DynamicFormTableColumn { // 保存类型:0待新增,1已保存,2待更新,3待删除 saveType: number }