12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- /*
- * Copyright [2022] [https://www.baiduc.com]
- *
- * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
- *
- * 1.请不要删除和修改根目录下的LICENSE文件。
- * 2.请不要删除和修改Snowy源码头部的版权声明。
- * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
- * 4.分发源码时候,请注明软件出处 https://www.baiduc.com
- * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
- * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.baiduc.com
- */
- 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};
- <% } %>
- <% } %>
- <% } %>
- }
|