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/ComActEasyPhotoVO.java | 203 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 203 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActEasyPhotoVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActEasyPhotoVO.java new file mode 100644 index 0000000..8796d79 --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/ComActEasyPhotoVO.java @@ -0,0 +1,203 @@ +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.Min; +import javax.validation.constraints.NotBlank; +import java.math.BigDecimal; +import java.util.Date; +import java.util.List; + +/** + * @program: springcloud_k8s_panzhihuazhihuishequ + * @description: 随手拍 + * @author: huang.hongfa weixin hhf9596 qq 959656820 + * @create: 2020-12-07 14:19 + **/ +@Data +@ApiModel("社区活动 》随手拍") +public class ComActEasyPhotoVO { + + @ApiModelProperty("自增id") + private Long id; + + @ApiModelProperty("发起人id") + private Long sponsorId; + + @ApiModelProperty("发起人名字") + private String sponsorName; + + @ApiModelProperty("发布人昵称") + private String userNickName; + + @ApiModelProperty("发生地址") + @NotBlank(groups = {AddGroup.class},message = "发生地址不能为空") + private String happenAddr; + + @ApiModelProperty("发起人头像") + private String imageUrl; + + @ApiModelProperty("状态 1待审核 2进行中 3已驳回 4已完成") + private Integer status; + + @ApiModelProperty("处理人id") + private Long handlerId; + + @ApiModelProperty("处理人名字") + private String handlerName; + + @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("详情") + @NotBlank(groups = {AddGroup.class},message = "详情不能为空") + private String detail; + + @ApiModelProperty("图片路径列表,逗号分隔") + @NotBlank(groups = {AddGroup.class},message = "图片路径列表不能为空") + private String photoPathList; + + @ApiModelProperty("处理结果") + private String handleResult; + + @ApiModelProperty("处理结果,图片路径列表,逗号分隔") + private String handlePhotoList; + + @ApiModelProperty("当前页数") + private Long pageNum; + + @ApiModelProperty("每页记录数") + private Long pageSize; + + @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 createAt; + + @ApiModelProperty("社区id") + private Long communityId; + + @ApiModelProperty("点赞数量") + private Integer giveThumbsUpNum; + + @ApiModelProperty("评论数量") + private Integer commentNum; + + @ApiModelProperty("是否匿名发布 0 否 1 是") + @Min(value = 0,groups = {AddGroup.class},message = "是否匿名发布不能为空") + private Integer isHide; + + @ApiModelProperty("是否点赞 0 否 1 是") + private Integer haveGiveThumbsUp = 0; + + @ApiModelProperty(value = "是否需要反馈 1 是 0 不是",example = "0") + private Integer isNeedFeedBack; + + @ApiModelProperty("操作类型 1处理随手拍 2驳回 3反馈 4.完成随手拍") + private Integer type; + + @ApiModelProperty(value = "登录用户id",hidden = true) + private Long userId; + + @ApiModelProperty(value = "登录用户id",hidden = true) + private Long logInUserId; + + @ApiModelProperty("反馈时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date feedbackAt; + + @ApiModelProperty("发起人手机号") + private String phone; + + @ApiModelProperty("拒绝原因") + private String rejectReason; + + @ApiModelProperty(value = "后台登录人员id",hidden = true) + private Long backUserId; + + @ApiModelProperty(value = "地址备注") + private String addrRemark; + + @ApiModelProperty(value = "是否上报社区处理(0.否 1.是)") + private Integer isReport; + + @ApiModelProperty(value = "是否公示(0.否 1.是)") + private Integer isPublicity; + + @ApiModelProperty(value = "处理状态(1.待处理 2.已处理)") + private Integer handleStatus; + + @ApiModelProperty(value = "发生地址经纬度信息,逗号分割(长的在前面,短的在后面)") + private String lngLat; + + @ApiModelProperty(value = "随手拍标签(1.优质 2.精良 3.普通 4.一般 5.无)") + private Integer activityType; + + @ApiModelProperty(value = "参加活动奖励金额") + private BigDecimal activityAmount; + + @ApiModelProperty(value = "活动奖励金额") + private BigDecimal activityMoney; + + @ApiModelProperty(value = "随手拍活动id") + private Long activityId; + + @ApiModelProperty(value = "类型(1.心情类 2.治理类)") + private Integer easyType; + + @ApiModelProperty(value = "随手拍活动") + private ComActEasyPhotoActivityVO easyPhotoActivityVO; + + @ApiModelProperty(value = "关键词") + private String keyWord; + + @ApiModelProperty(value = "反馈信息列表") + private List<ComActEasyPhotoFeedbackVO> photoFeedbackList; + + @ApiModelProperty(value = "完成人名称") + private String completeName; + + @ApiModelProperty(value = "是否上报城管 0未上报 1已上报 2已退回") + private Integer isReportUrban; + + @ApiModelProperty(value = "城管移交说明(备注)") + private String transferReason; + + @ApiModelProperty("移交时间") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") + private Date transferTime; + + @ApiModelProperty(value = "城管安排状态 0未安排 1已安排 2已处理") + private Integer urbanStatus; + + @ApiModelProperty(value = "社区名字") + private String communityName; + + @ApiModelProperty(value = "随手拍分类id") + private Long classifyId; + + @ApiModelProperty(value = "随手拍分类名称") + private String classifyName; + + /** + * 是否上报城管 0未上报 1已上报 2已退回 + */ + public interface isReportUrban{ + int no = 0; + int yes = 1; + int ret = 2; + } +} -- Gitblit v1.7.1