All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.zys.mybatis.crud.base.Order Maven / Gradle / Ivy

package com.zys.mybatis.crud.base;

import com.zys.mybatis.constant.CharFinal;
import com.zys.mybatis.crud.SFunction;

/**
 * @author zys
 * @version 1.0
 * @date 2021/2/25 10:00
 */
public class Order {

    public Order(String sort, SFunction column){
        this.sort = sort;
        this.column = column;
    }

    public Order(SFunction column){
        this.column = column;
    }

    /**
     * 升降序
     */
    private String sort = CharFinal.ASC;

    /**
     * 排序字段
     */
    private final SFunction column;

    public String getSort(){
        return sort;
    }

    public SFunction getColumn(){
        return column;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy