ny
昨天 b6f169fe43a2b13f351aefc152374fc7f0bc8cb7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package jnpf.model.document;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;
 
import java.io.Serializable;
 
@Data
public class DocumentUploader implements Serializable {
    @Schema(description ="父级id")
    private String parentId;
    @JSONField(serialize = false)
    @Schema(description ="文件")
    private MultipartFile file;
 
    @Schema(description ="文件")
    private String fileName;
 
    @Schema(description ="流程任务id")
    private String taskId;
 
    public DocumentUploader(MultipartFile file, String parentId, String taskId) {
        this.file = file;
        this.parentId = parentId;
        this.taskId = taskId;
    }
 
    public DocumentUploader(MultipartFile file, String parentId) {
        this.file = file;
        this.parentId = parentId;
    }
 
    public DocumentUploader() {
    }
 
}