package ${packageName}.entity;

#if($docFlag)
import io.swagger.v3.oas.annotations.media.Schema;
#end
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

import java.io.Serializable;

/**
 * ${functionName} 查询参数
 *
 * @author ${author}
 * @version 1.0
 * @since ${datetime}
 */
@Getter
@Setter
public class ${ClassName}Param implements Serializable {

    private static final long serialVersionUID=1L;
## 遍历字段
#foreach ($column in $queryColumns)
#if($column.queryType == "BETWEEN")
#set($AttrName=$column.javaField.substring(0,1).toUpperCase() + ${column.javaField.substring(1)})

    #if($docFlag)
    @Schema(description = "开始$column.columnComment")
    #else
    /**
     * 开始$column.columnComment
     */
    #end
    #if($column.javaType == "Date")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    #end
    private $column.javaType start$AttrName;

    #if($docFlag)
    @Schema(description = "结束$column.columnComment")
    #else
    /**
     * 结束$column.columnComment
     */
    #end
    #if($column.javaType == "Date")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    #end
    private $column.javaType end$AttrName;

#else

    #if($docFlag)
    @Schema(description = "$column.columnComment")
    #else
    /**
     * $column.columnComment
     */
    #end
    #if($column.javaType == "Date")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    #end
    private $column.javaType $column.javaField;
#end
#end

}
