package ${packageName}.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
#foreach ($column in $columns)
#if ($column.javaType.equals("BigDecimal"))
import java.math.BigDecimal;
#end
#if ($column.javaType.equals("Date"))
import java.util.Date;
#end
#end

@Data
@ApiModel("${functionName}搜素参数")
public class ${EntityName}SearchValidate implements Serializable {

    private static final long serialVersionUID = 1L;

#foreach ($column in $columns)
#if($column.isQuery==1)
    #if ($column.columnName.equals("create_time") || $column.columnName.equals("update_time") || $column.columnName.equals("delete_time"))
    @ApiModelProperty(value = "开始时间")
    private String ${column.javaField}Start;

    @ApiModelProperty(value = "结束时间")
    private String ${column.javaField}End;
    #else
    @ApiModelProperty(value = "${column.columnComment}")
    private ${column.javaType} ${column.javaField};
    #end

#end
#end
}
