package cn.autoform.db.exten;
|
|
import java.util.List;
|
import java.util.Map;
|
|
/**
|
*
|
* @author yuezhw
|
*
|
*/
|
public class SubTableStructure {
|
|
/**
|
* 表名
|
*/
|
private String tableName;
|
|
/**
|
* 表中字段{例如:field12}及对应的属性{例如:varChar(30)}
|
*/
|
private Map<String,Object> fields;
|
|
/**
|
* 子表中新增字段,例:{子表单号=[别名1, 别名2 , ...]}
|
*/
|
private Map<String, List<String>> subFormObjcloumn;
|
|
/**
|
* 子表中新增字段属性,例:{4=[text, text]}
|
*/
|
private Map<String, List<String>> subFormObjFieldtype;
|
|
/**
|
* 子表中新增字段,例:{4=[数字, 多行文本]}
|
*/
|
private Map<Integer, List<String>> alaisSubFormObjcloumn;
|
|
/**
|
* 子表中老增字段值
|
*/
|
private Map<Integer, String> oldFormObjcloumn;
|
|
/**
|
* 更改表结构时新列
|
*/
|
private List<String> subAliasValues;
|
|
/**
|
* 更改表结构时字段别名及类型
|
*/
|
Map<String,Map<String,String>> AliasSubValuesMap;
|
|
/**
|
* 更改表结构时表名字段别名及类型
|
*
|
*/
|
Map<String, Map<String,String>> subFormNameAndColumnsMap;
|
|
/**
|
* 更改表结构时表名字段别名
|
*
|
*/
|
Map<String, List<String>> subFormNameColumns;
|
|
/**
|
* 更改表结构时表名字段类型
|
*
|
*/
|
Map<String, List<String>> subformNameAndType;
|
|
/**
|
* 更改表结构时子表名和控件序号
|
*
|
*/
|
Map<String, Integer> subFormNameAndFormDataNum;
|
|
private String tenantID;
|
|
private String mapperID;
|
|
private Integer formDataNum;
|
|
private String formId;
|
|
private String creatUser;
|
|
private String updateUser;
|
|
private Integer dataRowNum;
|
|
|
|
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 Map<String, Integer> getSubFormNameAndFormDataNum() {
|
return subFormNameAndFormDataNum;
|
}
|
|
public void setSubFormNameAndFormDataNum(Map<String, Integer> subFormNameAndFormDataNum) {
|
this.subFormNameAndFormDataNum = subFormNameAndFormDataNum;
|
}
|
|
public Map<String, List<String>> getSubformNameAndType() {
|
return subformNameAndType;
|
}
|
|
public void setSubformNameAndType(Map<String, List<String>> subformNameAndType) {
|
this.subformNameAndType = subformNameAndType;
|
}
|
|
public Map<String, List<String>> getSubFormNameColumns() {
|
return subFormNameColumns;
|
}
|
|
public void setSubFormNameColumns(Map<String, List<String>> subFormNameColumns) {
|
this.subFormNameColumns = subFormNameColumns;
|
}
|
|
public Map<String, Map<String, String>> getSubFormNameAndColumnsMap() {
|
return subFormNameAndColumnsMap;
|
}
|
|
public void setSubFormNameAndColumnsMap(Map<String, Map<String, String>> subFormNameAndColumnsMap) {
|
this.subFormNameAndColumnsMap = subFormNameAndColumnsMap;
|
}
|
|
public String getFormId() {
|
return formId;
|
}
|
|
public void setFormId(String formId) {
|
this.formId = formId;
|
}
|
|
public Integer getFormDataNum() {
|
return formDataNum;
|
}
|
|
public void setFormDataNum(Integer formDataNum) {
|
this.formDataNum = formDataNum;
|
}
|
|
public String getTenantID() {
|
return tenantID;
|
}
|
|
public void setTenantID(String tenantID) {
|
this.tenantID = tenantID;
|
}
|
|
public String getMapperID() {
|
return mapperID;
|
}
|
|
public void setMapperID(String mapperID) {
|
this.mapperID = mapperID;
|
}
|
|
public Map<String, Map<String, String>> getAliasSubValuesMap() {
|
return AliasSubValuesMap;
|
}
|
|
public void setAliasSubValuesMap(Map<String, Map<String, String>> aliasSubValuesMap) {
|
AliasSubValuesMap = aliasSubValuesMap;
|
}
|
|
public List<String> getSubAliasValues() {
|
return subAliasValues;
|
}
|
|
public void setSubAliasValues(List<String> subAliasValues) {
|
this.subAliasValues = subAliasValues;
|
}
|
|
public Map<Integer, String> getOldFormObjcloumn() {
|
return oldFormObjcloumn;
|
}
|
|
public void setOldFormObjcloumn(Map<Integer, String> oldFormObjcloumn) {
|
this.oldFormObjcloumn = oldFormObjcloumn;
|
}
|
|
public Map<Integer, List<String>> getAlaisSubFormObjcloumn() {
|
return alaisSubFormObjcloumn;
|
}
|
|
public void setAlaisSubFormObjcloumn(Map<Integer, List<String>> alaisSubFormObjcloumn) {
|
this.alaisSubFormObjcloumn = alaisSubFormObjcloumn;
|
}
|
|
public Map<String, List<String>> getSubFormObjcloumn() {
|
return subFormObjcloumn;
|
}
|
|
public void setSubFormObjcloumn(Map<String, List<String>> subFormObjcloumn) {
|
this.subFormObjcloumn = subFormObjcloumn;
|
}
|
|
|
public Map<String, List<String>> getSubFormObjFieldtype() {
|
return subFormObjFieldtype;
|
}
|
|
public void setSubFormObjFieldtype(Map<String, List<String>> subFormObjFieldtype) {
|
this.subFormObjFieldtype = subFormObjFieldtype;
|
}
|
|
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;
|
}
|
}
|