package cn.autoform.db.exten;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
* 更改表结构(字段)
|
* @author yuezhw
|
*
|
*/
|
public class TableStructure {
|
|
/**
|
* 表名
|
*/
|
private String tableName;
|
|
/**
|
* 租户idformID
|
*/
|
private String tenantId;
|
|
/**
|
* 表单id
|
*/
|
private String formId;
|
|
/**
|
* 表中字段{例如:field12}及对应的控件名{例如:varChar(30)}
|
*/
|
private Map<String,Object> fields;
|
|
/**
|
* 子表
|
*/
|
private List<SubTableStructure> SubTableList;
|
|
/**
|
* 判断是创建还是修改表
|
* @return
|
*/
|
private String flag;
|
|
/**
|
* 修改表结构时新列名
|
*/
|
private List<Integer> cloumnOrderNumList;
|
|
/**
|
* 新列的属性
|
* @return
|
*/
|
private List<String> fieldtypeList;
|
|
/**
|
* 修改表结构时新列
|
*/
|
private List<String> aliasValues ;
|
|
/**
|
* 更改表结构时字段别名及类型
|
*/
|
private Map<String,String> aliasValuesMap;
|
|
|
private String mapperID;
|
|
private String creatUser;
|
|
private String updateUser;
|
|
private Integer dataRowNum;
|
|
private Integer formDataNum;
|
|
|
public Integer getFormDataNum() {
|
return formDataNum;
|
}
|
|
public void setFormDataNum(Integer formDataNum) {
|
this.formDataNum = formDataNum;
|
}
|
|
public String getCreatUser() {
|
return creatUser;
|
}
|
|
public void setCreatUser(String creatUser) {
|
this.creatUser = creatUser;
|
}
|
|
public String getUpdateUser() {
|
return updateUser;
|
}
|
|
public void setUpdateUser(String updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
public Integer getDataRowNum() {
|
return dataRowNum;
|
}
|
|
public void setDataRowNum(Integer dataRowNum) {
|
this.dataRowNum = dataRowNum;
|
}
|
|
public String getTenantId() {
|
return tenantId;
|
}
|
|
public void setTenantId(String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public String getFormId() {
|
return formId;
|
}
|
|
public void setFormId(String formId) {
|
this.formId = formId;
|
}
|
|
public String getMapperID() {
|
return mapperID;
|
}
|
|
public void setMapperID(String mapperID) {
|
this.mapperID = mapperID;
|
}
|
|
public Map<String, String> getAliasValuesMap() {
|
return aliasValuesMap;
|
}
|
|
public void setAliasValuesMap(Map<String, String> aliasValuesMap) {
|
this.aliasValuesMap = aliasValuesMap;
|
}
|
|
public List<String> getAliasValues() {
|
return aliasValues;
|
}
|
|
public void setAliasValues(List<String> aliasValues) {
|
this.aliasValues = aliasValues;
|
}
|
|
public List<Integer> getCloumnOrderNumList() {
|
return cloumnOrderNumList;
|
}
|
|
public void setCloumnOrderNumList(List<Integer> cloumnOrderNumList) {
|
this.cloumnOrderNumList = cloumnOrderNumList;
|
}
|
|
public List<String> getFieldtypeList() {
|
return fieldtypeList;
|
}
|
|
public void setFieldtypeList(List<String> fieldtypeList) {
|
this.fieldtypeList = fieldtypeList;
|
}
|
|
public String getFlag() {
|
return flag;
|
}
|
|
public void setFlag(String flag) {
|
this.flag = flag;
|
}
|
|
public String getTableName() {
|
return tableName;
|
}
|
|
public void setTableName(String tableName) {
|
this.tableName = tableName;
|
}
|
|
public Map<String, Object> getFields() {
|
return fields;
|
}
|
|
public void setFields(Map<String, Object> fields) {
|
this.fields = fields;
|
}
|
|
public List<SubTableStructure> getSubTableList() {
|
return SubTableList;
|
}
|
|
public void setSubTableList(List<SubTableStructure> subTableList) {
|
SubTableList = subTableList;
|
}
|
|
}
|