提交 | 用户 | 时间
|
e7c126
|
1 |
package com.iailab.module.infra.controller.app.file.vo; |
H |
2 |
|
|
3 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
4 |
import lombok.Data; |
|
5 |
import org.springframework.web.multipart.MultipartFile; |
|
6 |
|
|
7 |
import javax.validation.constraints.NotNull; |
|
8 |
|
|
9 |
@Schema(description = "用户 App - 上传文件 Request VO") |
|
10 |
@Data |
|
11 |
public class AppFileUploadReqVO { |
|
12 |
|
|
13 |
@Schema(description = "文件附件", requiredMode = Schema.RequiredMode.REQUIRED) |
|
14 |
@NotNull(message = "文件附件不能为空") |
|
15 |
private MultipartFile file; |
|
16 |
|
|
17 |
@Schema(description = "文件附件", example = "iailabyuanma.png") |
|
18 |
private String path; |
|
19 |
|
|
20 |
} |