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

top.summerboot.orm.dto.CommonQueryDTO Maven / Gradle / Ivy

The newest version!
package top.summerboot.orm.dto;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xieshuang
 * @date 2021-04-24 11:55
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel("通用查询DTO")
@Data
public class CommonQueryDTO extends TimeDTO implements CommonQueryInterface{

    private static final long serialVersionUID = 1519083810348925450L;
    @ApiModelProperty(value = "小于")
    private JSONObject le;
    @ApiModelProperty(value = "大于")
    private JSONObject ge;
    @ApiModelProperty(value = "等于")
    private JSONObject eq;
    @ApiModelProperty(value = "模糊")
    private JSONObject like;
    @ApiModelProperty(value = "不等于")
    private JSONObject ne;
    @ApiModelProperty(value = "in")
    private JSONObject in;
    @ApiModelProperty(value = "为空")
    private JSONObject isNull;
    @ApiModelProperty(value = "排序对象集合")
    private ArrayList order;

    @Override
    public List getOrderBy() {
        return order;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy