71 lines
2.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* Copyright [2022] [https://www.xiaonuo.vip]
*
* Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
*
* 1.请不要删除和修改根目录下的LICENSE文件。
* 2.请不要删除和修改Snowy源码头部的版权声明。
* 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
* 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
* 5.不可二次分发开源参与同类竞品如有想法可联系团队xiaonuobase@qq.com商议合作。
* 6.若您的项目无法满足以上几点需要更多功能代码获取Snowy商业授权许可请在官网购买授权地址为 https://www.xiaonuo.vip
*/
package ${packageName}.${moduleName}.modular.${busName}.param;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;
import java.util.Date;
/**
* ${functionName}查询参数
*
* @author ${authorName}
* @date ${genTime}
**/
@Getter
@Setter
public class ${className}PageParam {
/** 当前页 */
@ApiModelProperty(value = "当前页码")
private Integer current;
/** 每页条数 */
@ApiModelProperty(value = "每页条数")
private Integer size;
/** 排序字段 */
@ApiModelProperty(value = "排序字段字段驼峰名称userName")
private String sortField;
/** 排序方式 */
@ApiModelProperty(value = "排序方式升序ASCEND降序DESCEND")
private String sortOrder;
/** 关键词 */
@ApiModelProperty(value = "关键词")
private String searchKey;
<% for(var i = 0; i < configList.~size; i++) { %>
<% if(configList[i].needPage) { %>
<% if(configList[i].effectType == 'datepicker') { %>
/** ${configList[i].fieldRemark}开始 */
@ApiModelProperty(value = "${configList[i].fieldRemark}开始")
private String start${configList[i].fieldNameCamelCaseFirstUpper};
/** ${configList[i].fieldRemark}结束 */
@ApiModelProperty(value = "${configList[i].fieldRemark}结束")
private String end${configList[i].fieldNameCamelCaseFirstUpper};
<% } else { %>
/** ${configList[i].fieldRemark} */
@ApiModelProperty(value = "${configList[i].fieldRemark}")
private ${configList[i].fieldJavaType} ${configList[i].fieldNameCamelCase};
<% } %>
<% } %>
<% } %>
}