package ${basePackage}.query;

import com.qqchen.deploy.backend.framework.annotation.QueryField;
import com.qqchen.deploy.backend.framework.enums.QueryType;
import com.qqchen.deploy.backend.framework.query.BaseQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * ${moduleName}查询对象
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ${className}Query extends BaseQuery {

<#list fields as field>
    <#if field.comment??>
    /**
     * ${field.comment}
     */
    </#if>
    <#if field.fieldType == "String">
    @QueryField(field = "${field.columnName}", type = QueryType.LIKE)
    <#else>
    @QueryField(field = "${field.columnName}")
    </#if>
    private ${field.fieldType} ${field.fieldName};

</#list>
} 