package com.vci.web.query;
|
|
import com.vci.starter.web.pagemodel.PageHelper;
|
|
import java.util.Collection;
|
import java.util.Map;
|
|
/**
|
* 链接类型的查询对象
|
* @author weidy
|
* @date 2021/3/10
|
*/
|
public class UILinkTypeDataQuery extends UIBaseQuery{
|
|
/**
|
* 查询模板的名称
|
*/
|
private String queryTemplateName;
|
|
/**
|
* 链接类型
|
*/
|
private String linkType;
|
|
/**
|
* 起始查询的值
|
*/
|
private String parentOid;
|
|
/**
|
* 查询条件
|
*/
|
private Map<String,String> conditionMap;
|
|
|
/**
|
* 分页和排序的对象
|
*/
|
private PageHelper pageHelper;
|
|
/**
|
* 查询的字段,如果没有设置,默认为*
|
*/
|
private Collection<String> clauseList;
|
|
/**
|
* 要查询的to端的业务类型,不设置就会查询全部
|
*/
|
private String toBtmType;
|
|
/**
|
* 是否反向,true表示查询from端的信息
|
*/
|
private boolean direction = false;
|
|
/**
|
* 是否查询全部,false表示逐级查询
|
*/
|
private boolean queryAllLevel = false;
|
|
/**
|
* 替换的属性信息
|
*/
|
private Map<String,Object> replaceMap;
|
|
/**
|
* 指定层级
|
*/
|
private int level = 0 ;
|
|
public String getQueryTemplateName() {
|
return queryTemplateName;
|
}
|
|
public void setQueryTemplateName(String queryTemplateName) {
|
this.queryTemplateName = queryTemplateName;
|
}
|
|
public Map<String, String> getConditionMap() {
|
return conditionMap;
|
}
|
|
public void setConditionMap(Map<String, String> conditionMap) {
|
this.conditionMap = conditionMap;
|
}
|
|
public PageHelper getPageHelper() {
|
return pageHelper;
|
}
|
|
public void setPageHelper(PageHelper pageHelper) {
|
this.pageHelper = pageHelper;
|
}
|
|
public Collection<String> getClauseList() {
|
return clauseList;
|
}
|
|
public void setClauseList(Collection<String> clauseList) {
|
this.clauseList = clauseList;
|
}
|
|
public String getToBtmType() {
|
return toBtmType;
|
}
|
|
public void setToBtmType(String toBtmType) {
|
this.toBtmType = toBtmType;
|
}
|
|
public boolean isDirection() {
|
return direction;
|
}
|
|
public void setDirection(boolean direction) {
|
this.direction = direction;
|
}
|
|
public boolean isQueryAllLevel() {
|
return queryAllLevel;
|
}
|
|
public void setQueryAllLevel(boolean queryAllLevel) {
|
this.queryAllLevel = queryAllLevel;
|
}
|
|
public int getLevel() {
|
return level;
|
}
|
|
public void setLevel(int level) {
|
this.level = level;
|
}
|
|
public String getParentOid() {
|
return parentOid;
|
}
|
|
public void setParentOid(String parentOid) {
|
this.parentOid = parentOid;
|
}
|
|
public String getLinkType() {
|
return linkType;
|
}
|
|
public void setLinkType(String linkType) {
|
this.linkType = linkType;
|
}
|
|
public Map<String, Object> getReplaceMap() {
|
return replaceMap;
|
}
|
|
public void setReplaceMap(Map<String, Object> replaceMap) {
|
this.replaceMap = replaceMap;
|
}
|
|
@Override
|
public String toString() {
|
return "UILinkTypeDataQuery{" +
|
"queryTemplateName='" + queryTemplateName + '\'' +
|
", linkType='" + linkType + '\'' +
|
", parentOid='" + parentOid + '\'' +
|
", conditionMap=" + conditionMap +
|
", pageHelper=" + pageHelper +
|
", clauseList=" + clauseList +
|
", toBtmType='" + toBtmType + '\'' +
|
", direction=" + direction +
|
", queryAllLevel=" + queryAllLevel +
|
", replaceMap=" + replaceMap +
|
", level=" + level +
|
"} " + super.toString();
|
}
|
}
|