package com.izouma.awesomeadmin.model;

#foreach($import in $imports)
$import
#end
import java.util.*;
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonInclude;


@JsonAutoDetect
@JsonInclude(JsonInclude.Include.NON_NULL)
public class $model.className{
#foreach($field in $model.fields)
    private $field.javaType $field.modelName;
#end

private String idStr;

private String searchKey;

/**
* and,test_name,like,value;or,remark,=,123
*/
private String advancedQuery;

/**
* column_name_,desc_;column_name_,asc
*/
private String orderByStr;

#foreach($field in $model.fields)
    public $field.javaType get${display.capitalize($field.modelName)}(){
        return this.$field.modelName;
    }

    public void set${display.capitalize($field.modelName)}($field.javaType $field.modelName){
        this.$field.modelName = $field.modelName;
    }
#end

public String getSearchKey() {
    return searchKey;
}

public void setSearchKey(String searchKey) {
    this.searchKey = searchKey;
}

public String getAdvancedQuery() {
    return advancedQuery;
}

public void setAdvancedQuery(String advancedQuery) {
    this.advancedQuery = advancedQuery;
}

public String getOrderByStr() {
    return orderByStr;
}

public void setOrderByStr(String orderByStr) {
    this.orderByStr = orderByStr;
}

public String getIdStr() {
    return idStr;
}

public void setIdStr(String idStr) {
    this.idStr = idStr;
}

}

