org.zodiac.mybatisplus.binding.binder.remote.RemoteBindDTO Maven / Gradle / Ivy
package org.zodiac.mybatisplus.binding.binder.remote;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;
/**
* 远程绑定DTO定义。
*
*/
public class RemoteBindDTO implements Serializable {
private static final long serialVersionUID = -6638553008536063857L;
private String entityClassName;
private String[] selectColumns;
private String refJoinCol;
private Collection> inConditionValues;
private List additionalConditions;
private String orderBy;
private String resultType;
public RemoteBindDTO() {}
public RemoteBindDTO(Class> entityClass) {
this.entityClassName = entityClass.getName();
}
public String getEntityClassName() {
return entityClassName;
}
public RemoteBindDTO setEntityClassName(String entityClassName) {
this.entityClassName = entityClassName;
return this;
}
public String[] getSelectColumns() {
return selectColumns;
}
public RemoteBindDTO setSelectColumns(String[] selectColumns) {
this.selectColumns = selectColumns;
return this;
}
public String getRefJoinCol() {
return refJoinCol;
}
public RemoteBindDTO setRefJoinCol(String refJoinCol) {
this.refJoinCol = refJoinCol;
return this;
}
public Collection> getInConditionValues() {
return inConditionValues;
}
public RemoteBindDTO setInConditionValues(Collection> inConditionValues) {
this.inConditionValues = inConditionValues;
return this;
}
public List getAdditionalConditions() {
return additionalConditions;
}
public RemoteBindDTO setAdditionalConditions(List additionalConditions) {
this.additionalConditions = additionalConditions;
return this;
}
public String getOrderBy() {
return orderBy;
}
public RemoteBindDTO setOrderBy(String orderBy) {
this.orderBy = orderBy;
return this;
}
public String getResultType() {
return resultType;
}
public RemoteBindDTO setResultType(String resultType) {
this.resultType = resultType;
return this;
}
}