9 changed files with 118 additions and 5 deletions
@ -0,0 +1,38 @@ |
|||
package com.bnyer.file.dto; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Getter; |
|||
import lombok.Setter; |
|||
import org.springframework.web.multipart.MultipartFile; |
|||
|
|||
import java.util.ArrayList; |
|||
|
|||
/** |
|||
* @Author qyh |
|||
* @Date 2022/7/9 18:24 |
|||
* @Description |
|||
*/ |
|||
@Getter |
|||
@Setter |
|||
@ApiModel("文件上传") |
|||
public class FileUploadDto { |
|||
|
|||
@ApiModelProperty(value="id") |
|||
private Long id; |
|||
|
|||
@ApiModelProperty(value="图片地址") |
|||
private String imgUrl; |
|||
|
|||
@ApiModelProperty(value="艺术家id") |
|||
private Long creatorId; |
|||
|
|||
@ApiModelProperty(value="分类id") |
|||
private Long typeId; |
|||
|
|||
@ApiModelProperty(value="状态(0->待审核;1->审核通过;2->审核拒绝)") |
|||
private String status; |
|||
|
|||
@ApiModelProperty(value="要上传的图片") |
|||
private ArrayList<MultipartFile> files; |
|||
} |
|||
@ -0,0 +1,9 @@ |
|||
package com.bnyer.file.vo; |
|||
|
|||
/** |
|||
* @Author qyh |
|||
* @Date 2022/7/9 18:22 |
|||
* @Description |
|||
*/ |
|||
public class UploadVo { |
|||
} |
|||
Loading…
Reference in new issue