com.kukababy.plus.pager.Sort Maven / Gradle / Ivy
package com.kukababy.plus.pager;
import java.io.Serializable;
/**
*
* 描述:
*
* @author [email protected]
* @date 2019年3月5日 下午10:46:00
*/
public class Sort implements Serializable {
public static final String ASC = "asc";
public static final String DESC = "desc";
private String col;
private String op = ASC;
/**
*
*/
public Sort() {
super();
}
/**
* @param col
* @param op
*/
public Sort(String col, String op) {
super();
this.col = col;
this.op = op;
}
public String getCol() {
return col;
}
public Sort setCol(String col) {
this.col = col;
return this;
}
public String getOp() {
return op;
}
public Sort setOp(String op) {
this.op = op;
return this;
}
}