com.feingto.cloud.data.bean.OrderSort Maven / Gradle / Ivy
package com.feingto.cloud.data.bean;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
/**
* 排序模型
*
* @author longfei
*/
@Accessors(chain = true)
@Data
public class OrderSort implements Serializable {
private static final long serialVersionUID = -486265379945783176L;
protected static final String DEFAULT_ORDER_FIELD = "id";
/**
* 排序字段
*/
private String orderField = DEFAULT_ORDER_FIELD;
/**
* 排序规则
*/
private String orderDirection = Page.ORDER_ASC;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy