From eda58e0e6d4abdd2b060e28867d103045845aa69 Mon Sep 17 00:00:00 2001 From: 罗元桥 <2376770955@qq.com> Date: 星期一, 30 八月 2021 13:13:18 +0800 Subject: [PATCH] Merge branch 'test' into 'yuyue_dev' --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventResourceEditDTO.java | 21 ++++++++------------- 1 files changed, 8 insertions(+), 13 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventResourceEditDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventResourceEditDTO.java index 110d9db..9772da0 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventResourceEditDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventResourceEditDTO.java @@ -1,16 +1,12 @@ package com.panzhihua.common.model.dtos.grid; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; +import javax.validation.constraints.Max; import org.hibernate.validator.constraints.Length; -import com.fasterxml.jackson.annotation.JsonFormat; -import javax.validation.constraints.Max; -import javax.validation.constraints.NotNull; -import javax.validation.constraints.NotBlank; -import java.util.Date; +import io.swagger.annotations.ApiModel; +import io.swagger.annotations.ApiModelProperty; +import lombok.Data; /** * 编辑表单 @@ -19,7 +15,7 @@ * @version 1.0 * @since 1.0 * @date 2021-05-26 - * */ + */ @Data @ApiModel("编辑事件或者走访中关联的图片音频和视频文件请求参数") public class EventResourceEditDTO { @@ -36,18 +32,17 @@ @ApiModelProperty(value = "事件上传的资源类型(1是图片2是音频3是是视频)", hidden = false, example = "1") private Integer type; - @Length(max=255) + @Length(max = 255) @ApiModelProperty(value = "资源名称", hidden = false, example = "") private String resourceName; - @Length(max=255) + @Length(max = 255) @ApiModelProperty(value = "资源大小", hidden = false, example = "") private String resourceSize; - @Length(max=255) + @Length(max = 255) @ApiModelProperty(value = "事件上传的资源URL地址", hidden = false, example = "") private String url; - @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") private Long userId; -- Gitblit v1.7.1