package ${packageName}.domain.dto;

#foreach ($import in $importList)
import ${import};
#end
import lombok.Data;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * ${functionName}Dto对象 ${tableName}
 *
 * @author ${author}
 * @date ${datetime}
 */
@ApiModel("${functionName}Dto对象")
@Data
public class ${ClassName}Dto implements Serializable
{
    private static final long serialVersionUID = 1L;

#foreach ($column in $columns)
#if($column.query)
#if(!$table.isSuperColumn($column.javaField))
    /** $column.columnComment */
#set($parentheseIndex=$column.columnComment.indexOf("（"))
#if($parentheseIndex != -1)
#set($comment=$column.columnComment.substring(0, $parentheseIndex))
#else
#set($comment=$column.columnComment)
#end
#if($column.javaType == 'Date')
#if($column.queryType == "BETWEEN")
    @ApiModelProperty(value="${comment}-查询开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private $column.javaType ${column.javaField}Begin;
    @ApiModelProperty(value="${comment}-查询结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private $column.javaType ${column.javaField}End;
#else
    @ApiModelProperty(value="${comment}")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private $column.javaType ${column.javaField};
#end
#else
    @ApiModelProperty(value="${comment}")
    private $column.javaType $column.javaField;
#end
#end

#end
#end
}
