| | |
| | | package com.panzhihua.common.model.dtos.grid; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.Max; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.NotBlank; |
| | | import java.util.Date; |
| | | import org.hibernate.validator.constraints.Length; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 创建表单 |
| | |
| | | * @version 1.0 |
| | | * @since 1.0 |
| | | * @date 2021-05-26 |
| | | * */ |
| | | */ |
| | | @Data |
| | | @ApiModel("创建事件或者走访中关联的图片音频和视频文件请求参数") |
| | | public class EventResourceAddDTO { |
| | |
| | | @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; |