From 931ea9dcdf62ea348f1811b9faf95d07ab1c1ac8 Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期日, 26 九月 2021 14:22:22 +0800 Subject: [PATCH] Merge branch 'test' into 'test_bak' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/PageConvenientMerchantDTO.java | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/PageConvenientMerchantDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/PageConvenientMerchantDTO.java new file mode 100644 index 0000000..56b7bff --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/PageConvenientMerchantDTO.java @@ -0,0 +1,45 @@ +package com.panzhihua.common.model.dtos.community.convenient; + +import javax.validation.constraints.Min; +import javax.validation.constraints.NotNull; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; + +/** + * @title: PageConvenientMerchantDTO + * @projectName: 成都呐喊信息技术有限公司-智慧社区项目 + * @description: 分页查询便民服务商家请求参数 + * @author: hans + * @date: 2021/09/16 15:03 + */ +@Data +@ApiModel("分页查询便民服务商家请求参数") +public class PageConvenientMerchantDTO { + + @ApiModelProperty("关键词") + private String keyword; + + @ApiModelProperty("社区id") + private Long communityId; + + @ApiModelProperty("服务分类id") + private Long serviceId; + + @ApiModelProperty("营业状态(1.在营 0.已关闭)") + private Integer businessStatus; + + @ApiModelProperty("账号状态(1.启用 2.禁用)") + private Integer accountStatus; + + @ApiModelProperty(value = "分页-当前页数", example = "1") + @NotNull(message = "分页参数不能为空") + @Min(value = 1) + private Long pageNum; + + @ApiModelProperty(value = "分页-每页记录数", example = "10") + @NotNull(message = "分页参数不能为空") + @Min(value = 1) + private Long pageSize; +} -- Gitblit v1.7.1