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

shz.api.server.Query Maven / Gradle / Ivy

There is a newer version: 10.0.12
Show newest version
package shz.api.server;

import shz.orm.annotation.OrderBy;
import shz.orm.annotation.Where;
import shz.orm.enums.Condition;

import java.util.List;

public class Query {
    @Where
    private String appName;
    @Where(condition = Condition.LIKE)
    private String groupName;
    @Where(condition = Condition.LIKE)
    private String path;
    @Where
    private String method;
    @Where(condition = Condition.LIKE)
    private String name;
    @Where(condition = Condition.BETWEEN)
    private List permission;
    @Where
    private Boolean login;
    @Where
    private Boolean enabled;
    @Where(condition = Condition.BETWEEN)
    private List qpsLimit;
    @Where
    private Boolean reusable;
    @Where(condition = Condition.BETWEEN)
    private List repeatedLimit;
    @Where
    private Boolean record;

    @OrderBy(fieldName = "sort")
    private Boolean orderBySort;
    @OrderBy(fieldName = "path")
    private Boolean orderByPath;

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List getPermission() {
        return permission;
    }

    public void setPermission(List permission) {
        this.permission = permission;
    }

    public Boolean getLogin() {
        return login;
    }

    public void setLogin(Boolean login) {
        this.login = login;
    }

    public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public List getQpsLimit() {
        return qpsLimit;
    }

    public void setQpsLimit(List qpsLimit) {
        this.qpsLimit = qpsLimit;
    }

    public Boolean getReusable() {
        return reusable;
    }

    public void setReusable(Boolean reusable) {
        this.reusable = reusable;
    }

    public List getRepeatedLimit() {
        return repeatedLimit;
    }

    public void setRepeatedLimit(List repeatedLimit) {
        this.repeatedLimit = repeatedLimit;
    }

    public Boolean getRecord() {
        return record;
    }

    public void setRecord(Boolean record) {
        this.record = record;
    }

    public Boolean getOrderBySort() {
        return orderBySort;
    }

    public void setOrderBySort(Boolean orderBySort) {
        this.orderBySort = orderBySort;
    }

    public Boolean getOrderByPath() {
        return orderByPath;
    }

    public void setOrderByPath(Boolean orderByPath) {
        this.orderByPath = orderByPath;
    }

    @Override
    public String toString() {
        return "Query{" +
                "appName='" + appName + '\'' +
                ", groupName='" + groupName + '\'' +
                ", path='" + path + '\'' +
                ", method='" + method + '\'' +
                ", name='" + name + '\'' +
                ", permission=" + permission +
                ", login=" + login +
                ", enabled=" + enabled +
                ", qpsLimit=" + qpsLimit +
                ", reusable=" + reusable +
                ", repeatedLimit=" + repeatedLimit +
                ", record=" + record +
                ", orderBySort=" + orderBySort +
                ", orderByPath=" + orderByPath +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy