From 2e64c232ab6b51b2cecf1ee96e1e9b709234f326 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期六, 21 八月 2021 16:35:14 +0800 Subject: [PATCH] 随手拍改版接口开发 --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActMicroWishVO.java | 145 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 145 insertions(+), 0 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 new file mode 100644 index 0000000..61e2a09 --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActMicroWishVO.java @@ -0,0 +1,145 @@ +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 javax.validation.constraints.NotBlank; +import java.util.Date; + +/** + * @program: springcloud_k8s_panzhihuazhihuishequ + * @description: 微心愿 + * @author: huang.hongfa weixin hhf9596 qq 959656820 + * @create: 2020-12-07 14:25 + **/ +@Data +@ApiModel("社区活动 》微心愿") +public class ComActMicroWishVO { + + @ApiModelProperty("id") + private Long id; + + @ApiModelProperty("发起人id") + private Long sponsorId; + + @ApiModelProperty("发起人电话号码") + private String sponsorPhone; + + @ApiModelProperty("发起人名字") + private String sponsorName; + + @ApiModelProperty("发起人昵称") + private String userNickName; + + @ApiModelProperty("发起人头像") + private String imageUrl; + + @ApiModelProperty("微心愿名称") + @NotBlank(groups = {AddGroup.class},message = "微心愿名称不能为空") + private String wishName; + + @ApiModelProperty("状态 1待审核 2待分配 3进行中 4已驳回 5待确认6 已完成") + private Integer status; + + @ApiModelProperty("集星数") + private Integer starNum; + + @ApiModelProperty("形式 1分配人员 2发起活动") + private Integer form; + + @ApiModelProperty("责任人id") + private Long responsibleId; + + @ApiModelProperty("责任人名字") + private String responsibleName; + + @ApiModelProperty("查询-创建开始时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date createBegin; + + @ApiModelProperty("查询-创建结束时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date createEnd; + + @ApiModelProperty("创建时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date createAt; + + @ApiModelProperty("审核 时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date examineAt; + + @ApiModelProperty("分配 时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date distributionAt; + + @ApiModelProperty("评分") + private Integer score; + + @ApiModelProperty("详情") + @NotBlank(groups = {AddGroup.class},message = "详情不能为空") + private String detail; + + @ApiModelProperty("图片路径列表,逗号分隔") + //@NotBlank(groups = {AddGroup.class},message = "图片路径列表不能为空") + private String photoPathList; + + @ApiModelProperty("当前页数") + private Long pageNum; + + @ApiModelProperty("每页记录数") + private Long pageSize; + + @ApiModelProperty(value = "社区id",hidden = true) + private Long communityId; + + @ApiModelProperty("用户评价") + private String evaluate; + + @ApiModelProperty("用户评价时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date evaluateAt; + + @ApiModelProperty("反馈时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date feedbackAt; + + @ApiModelProperty("完成情况图片列表,逗号分隔") + private String finishPhotoPathList; + + @ApiModelProperty("完成情况描述") + private String finish; + + @ApiModelProperty("驳回理由") + private String rejectReason; + + @ApiModelProperty("反馈文字") + private String feedback; + + @ApiModelProperty("反馈图片集合,逗号分隔") + private String feedbackPhotoPathList; + + @ApiModelProperty(value = "操作类型 1 审核通过 2驳回 3分配人员 4发起活动 5反馈",example = "1") + private Integer type; + + @ApiModelProperty(value = "小程序请求 1 是 0 不是",hidden = true) + private Integer isApplets; + + @ApiModelProperty(value = "是否点赞 1 是 0 不是",example = "1") + private Integer haveGiveThumbsUp = 0; + + @ApiModelProperty(value = "登录用户",hidden = true) + private Long userId; + + @ApiModelProperty(value = "社区后台登录用户",hidden = true) + private Long backUserId; + + @ApiModelProperty(value = "是否是分页查询微心愿接口调用",hidden = true) + private Integer isPageMyWish; + +} + -- Gitblit v1.7.1