刘光辉
4 小时以前 06f314545ac3514d7ce28939920866ae8188d31c
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
package jnpf.model.filecontent;
 
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
 
import java.util.Map;
import java.util.UUID;
 
/** Imports one attachment using the existing storage path convention; no approval or state command. */
@Data
public class FileContentImportForm {
    /** Caller-reserved identity used by the existing physical storage path. */
    @NotNull private UUID documentId;
    /** Caller-reserved version correlation; importing content does not register or activate it. */
    @NotNull private UUID fileVersionId;
    @NotBlank private String fileJson;
    @NotBlank private String fileName;
    /** Optional approval-page input processed before the document is stored. */
    private String signaturePageId;
    private String signaturePageFiles;
    private Map<String, String> signaturePageValues;
    /** Actual approval workflow version used to resolve signaturePageValues. */
    private String approvalFlowVersionId;
    /** Only new/revision approval callers opt in; source attachments are never modified. */
    private boolean removeDocxComments;
}