From a2c792ee79e69224d71dc6204c6cc01f92b9384e Mon Sep 17 00:00:00 2001 From: manailin <261030956@qq.com> Date: 星期一, 23 八月 2021 16:14:46 +0800 Subject: [PATCH] [新增]整理代码规范 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActMicroWishVO.java | 36 ++++++++++++++++++------------------ 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActMicroWishVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActMicroWishVO.java index 61e2a09..2add8d6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActMicroWishVO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActMicroWishVO.java @@ -1,14 +1,15 @@ package com.panzhihua.common.model.vos.community; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.panzhihua.common.validated.AddGroup; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import io.swagger.models.auth.In; -import lombok.Data; +import java.util.Date; import javax.validation.constraints.NotBlank; -import java.util.Date; + +import com.fasterxml.jackson.annotation.JsonFormat; +import com.panzhihua.common.validated.AddGroup; + +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; /** * @program: springcloud_k8s_panzhihuazhihuishequ @@ -39,7 +40,7 @@ private String imageUrl; @ApiModelProperty("微心愿名称") - @NotBlank(groups = {AddGroup.class},message = "微心愿名称不能为空") + @NotBlank(groups = {AddGroup.class}, message = "微心愿名称不能为空") private String wishName; @ApiModelProperty("状态 1待审核 2待分配 3进行中 4已驳回 5待确认6 已完成") @@ -81,11 +82,11 @@ private Integer score; @ApiModelProperty("详情") - @NotBlank(groups = {AddGroup.class},message = "详情不能为空") + @NotBlank(groups = {AddGroup.class}, message = "详情不能为空") private String detail; @ApiModelProperty("图片路径列表,逗号分隔") - //@NotBlank(groups = {AddGroup.class},message = "图片路径列表不能为空") + // @NotBlank(groups = {AddGroup.class},message = "图片路径列表不能为空") private String photoPathList; @ApiModelProperty("当前页数") @@ -94,7 +95,7 @@ @ApiModelProperty("每页记录数") private Long pageSize; - @ApiModelProperty(value = "社区id",hidden = true) + @ApiModelProperty(value = "社区id", hidden = true) private Long communityId; @ApiModelProperty("用户评价") @@ -123,23 +124,22 @@ @ApiModelProperty("反馈图片集合,逗号分隔") private String feedbackPhotoPathList; - @ApiModelProperty(value = "操作类型 1 审核通过 2驳回 3分配人员 4发起活动 5反馈",example = "1") + @ApiModelProperty(value = "操作类型 1 审核通过 2驳回 3分配人员 4发起活动 5反馈", example = "1") private Integer type; - @ApiModelProperty(value = "小程序请求 1 是 0 不是",hidden = true) + @ApiModelProperty(value = "小程序请求 1 是 0 不是", hidden = true) private Integer isApplets; - @ApiModelProperty(value = "是否点赞 1 是 0 不是",example = "1") + @ApiModelProperty(value = "是否点赞 1 是 0 不是", example = "1") private Integer haveGiveThumbsUp = 0; - @ApiModelProperty(value = "登录用户",hidden = true) + @ApiModelProperty(value = "登录用户", hidden = true) private Long userId; - @ApiModelProperty(value = "社区后台登录用户",hidden = true) + @ApiModelProperty(value = "社区后台登录用户", hidden = true) private Long backUserId; - @ApiModelProperty(value = "是否是分页查询微心愿接口调用",hidden = true) + @ApiModelProperty(value = "是否是分页查询微心愿接口调用", hidden = true) private Integer isPageMyWish; } - -- Gitblit v1.7.1