You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
672 B
28 lines
672 B
package lsgwr.exam.qo;
|
|
|
|
/***********************************************************
|
|
* @Description : 文件传输的实体类,支持单个文件
|
|
* @author : 梁山广
|
|
* @date : 2018/5/19 15:51
|
|
* @version : V1.0
|
|
***********************************************************/
|
|
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
import lombok.NoArgsConstructor;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
@Data
|
|
@AllArgsConstructor
|
|
@NoArgsConstructor
|
|
public class UploadModel2 {
|
|
/**
|
|
* 要保存的文件列表
|
|
*/
|
|
private MultipartFile file;
|
|
/**
|
|
* 文件要存储的文件夹
|
|
*/
|
|
private String dir;
|
|
}
|