|
|
@ -1,7 +1,11 @@
|
|
|
|
package cn.estsh.i3plus.pojo.base.bean;
|
|
|
|
package cn.estsh.i3plus.pojo.base.bean;
|
|
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
|
|
|
import cn.estsh.i3plus.pojo.base.common.Pager;
|
|
|
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
|
|
|
import lombok.Getter;
|
|
|
|
|
|
|
|
import lombok.Setter;
|
|
|
|
|
|
|
|
import lombok.ToString;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @Description :
|
|
|
|
* @Description :
|
|
|
@ -10,6 +14,9 @@ import io.swagger.annotations.ApiParam;
|
|
|
|
* @CreateDate : 2018-09-04 15:58
|
|
|
|
* @CreateDate : 2018-09-04 15:58
|
|
|
|
* @Modify:
|
|
|
|
* @Modify:
|
|
|
|
**/
|
|
|
|
**/
|
|
|
|
|
|
|
|
@Getter
|
|
|
|
|
|
|
|
@Setter
|
|
|
|
|
|
|
|
@ToString
|
|
|
|
public class BaseModelBean<Obj> {
|
|
|
|
public class BaseModelBean<Obj> {
|
|
|
|
|
|
|
|
|
|
|
|
@ApiParam("操作对象")
|
|
|
|
@ApiParam("操作对象")
|
|
|
@ -18,37 +25,23 @@ public class BaseModelBean<Obj> {
|
|
|
|
@ApiParam("翻页")
|
|
|
|
@ApiParam("翻页")
|
|
|
|
private Pager pager;
|
|
|
|
private Pager pager;
|
|
|
|
|
|
|
|
|
|
|
|
private String OrdersString;
|
|
|
|
@ApiParam("排序SQL")
|
|
|
|
|
|
|
|
private String ordersString;
|
|
|
|
|
|
|
|
|
|
|
|
public BaseModelBean(Obj obj, Pager pager) {
|
|
|
|
@ApiParam("整型参数")
|
|
|
|
this.obj = obj;
|
|
|
|
private long paramLong;
|
|
|
|
this.pager = pager;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public BaseModelBean() {
|
|
|
|
@ApiParam("浮点数字参数")
|
|
|
|
}
|
|
|
|
private double paramDouble;
|
|
|
|
|
|
|
|
|
|
|
|
public Obj getObj() {
|
|
|
|
@ApiParam("字符串参数")
|
|
|
|
return obj;
|
|
|
|
private String paramString;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setObj(Obj obj) {
|
|
|
|
public BaseModelBean(Obj obj, Pager pager) {
|
|
|
|
this.obj = obj;
|
|
|
|
this.obj = obj;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Pager getPager() {
|
|
|
|
|
|
|
|
return pager;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setPager(Pager pager) {
|
|
|
|
|
|
|
|
this.pager = pager;
|
|
|
|
this.pager = pager;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public String getOrdersString() {
|
|
|
|
public BaseModelBean() {
|
|
|
|
return OrdersString;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void setOrdersString(String ordersString) {
|
|
|
|
|
|
|
|
OrdersString = ordersString;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|