package com.lunhan.xxx.entity.dto;
|
|
public class OrderByDTO {
|
/**
|
* 排序字段枚举(支持的枚举值请参照字段“ orderByEnum”说明中的枚举类型,无特殊说明使用通用排序枚举,“EOrderBy”)
|
*/
|
private Integer orderBy;
|
/**
|
* 是否升序排序 true=升序,不传或者其他任意值=降序(默认)
|
*/
|
private Boolean isAsc;
|
|
public Integer getOrderBy() {
|
return orderBy;
|
}
|
|
public void setOrderBy(Integer orderBy) {
|
this.orderBy = orderBy;
|
}
|
|
public Boolean getIsAsc() {
|
return isAsc;
|
}
|
|
public void setIsAsc(Boolean asc) {
|
isAsc = asc;
|
}
|
}
|