parent
2ba8b1498b
commit
f039095f83
@ -0,0 +1,52 @@
|
||||
package cn.estsh.i3plus.pojo.model.form;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Adair Peng
|
||||
* @CreateDate : 2019-03-22 17:17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SqlColumnModel {
|
||||
// isAutoIncrement true isNullable 0 isSigned true getColumnDisplaySize 11 getColumnLabel id getColumnName id getSchemaName getPrecision 11 getScale 0 getTableName test getColumnType 4 getColumnTypeName INT getColumnClassName java.lang.Integer
|
||||
// isAutoIncrement false isNullable 1 isSigned false getColumnDisplaySize 50 getColumnLabel name getColumnName name getSchemaName getPrecision 50 getScale 0 getTableName test getColumnType 12 getColumnTypeName VARCHAR getColumnClassName java.lang.String
|
||||
// isAutoIncrement false isNullable 1 isSigned true getColumnDisplaySize 11 getColumnLabel age getColumnName age getSchemaName getPrecision 11 getScale 0 getTableName test getColumnType 4 getColumnTypeName INT getColumnClassName java.lang.Integer
|
||||
// isAutoIncrement false isNullable 1 isSigned false getColumnDisplaySize 19 getColumnLabel date_time getColumnName date_time getSchemaName getPrecision 19 getScale 0 getTableName test getColumnType 93 getColumnTypeName TIMESTAMP getColumnClassName java.sql.Timestamp
|
||||
// isAutoIncrement false isNullable 0 isSigned true getColumnDisplaySize 11 getColumnLabel test_num_not_null getColumnName test_num_not_null getSchemaName getPrecision 11 getScale 0 getTableName test getColumnType 4 getColumnTypeName INT getColumnClassName java.lang.Integer
|
||||
// isAutoIncrement false isNullable 1 isSigned true getColumnDisplaySize 11 getColumnLabel test_unique getColumnName test_unique getSchemaName getPrecision 11 getScale 0 getTableName test getColumnType 4 getColumnTypeName INT getColumnClassName java.lang.Integer
|
||||
// isAutoIncrement false isNullable 1 isSigned true getColumnDisplaySize 11 getColumnLabel test_comment getColumnName test_comment getSchemaName getPrecision 11 getScale 0 getTableName test getColumnType 4 getColumnTypeName INT getColumnClassName java.lang.Integer
|
||||
// isAutoIncrement false isNullable 1 isSigned false getColumnDisplaySize 500 getColumnLabel test_string_1000 getColumnName test_string_1000 getSchemaName getPrecision 500 getScale 0 getTableName test getColumnType 12 getColumnTypeName VARCHAR getColumnClassName java.lang.String
|
||||
// isAutoIncrement false isNullable 1 isSigned true getColumnDisplaySize 4 getColumnLabel test_double getColumnName test_double getSchemaName getPrecision 4 getScale 2 getTableName test getColumnType 8 getColumnTypeName DOUBLE getColumnClassName java.lang.Double
|
||||
// 是否自增
|
||||
@ApiParam(value = "是否自增")
|
||||
private Integer isAutoIncrement;
|
||||
// 是否允许为空
|
||||
@ApiParam(value = "是否允许为空")
|
||||
private Integer isNullable;
|
||||
// 是否是对象
|
||||
@ApiParam(value = "是否是对象")
|
||||
private Integer isSigned;
|
||||
// 字段名称
|
||||
@ApiParam(value = "字段名称")
|
||||
private String columnName;
|
||||
// 字段长度
|
||||
@ApiParam(value = "字段长度")
|
||||
private Integer precision;
|
||||
// 字段精确长度
|
||||
@ApiParam(value = "字段精确长度")
|
||||
private Integer scale;
|
||||
// 字段类型编号
|
||||
@ApiParam(value = "字段类型编号")
|
||||
private Integer columnType;
|
||||
// 字段类型名称
|
||||
@ApiParam(value = "字段类型名称")
|
||||
private String columnTypeName;
|
||||
// 字段Java 类型
|
||||
@ApiParam(value = "字段Java 类型")
|
||||
private String columnClassName;
|
||||
|
||||
}
|
@ -0,0 +1,31 @@
|
||||
package cn.estsh.i3plus.pojo.model.form;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Adair Peng
|
||||
* @CreateDate : 2019-03-22 16:40
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SqlCreateDllModel {
|
||||
|
||||
private String tableCat;
|
||||
private String tableSchem;
|
||||
private String tableName;
|
||||
private Integer tableType;
|
||||
private String tableTypeName;
|
||||
private String remarks;
|
||||
private String typeCat;
|
||||
private String typeName;
|
||||
private String selfReferencingColName;
|
||||
private String refGeneration;
|
||||
|
||||
List<SqlColumnModel> columnlist ;
|
||||
}
|
Loading…
Reference in New Issue