package jnpf.dmsEntity.storage.approval;
|
|
import lombok.Data;
|
import java.util.Map;
|
import java.util.UUID;
|
|
@Data
|
public class DmsApprovedItem {
|
private UUID batchId;
|
private String tenantId;
|
private String sourceKey;
|
private String sourceRowId;
|
private String changeType;
|
private String fileId;
|
private String businessVersionId;
|
private UUID documentId;
|
private UUID fileVersionId;
|
private UUID baseFileVersionId;
|
private String checksumSha256;
|
private String storageReceipt;
|
/** Control flag frozen when preparing CREATE/REVISE items; shared by registration and projection. */
|
private String shifouShoukong;
|
public boolean requiresContentRegistration() {
|
return "CREATE".equals(changeType) || "REVISE".equals(changeType);
|
}
|
|
/** Frozen native department tokens; [] leaves the current review target version without grants from this approval source. */
|
private String readAccessScope = "[]";
|
|
// Native source fields used only while accepting; never persisted in the receipt.
|
private String fileJson;
|
private String approvalPageFileJson;
|
private Map<String, String> approvalValuesByTag;
|
/** Actual workflow version used to produce approvalValuesByTag; transported only to the file writer. */
|
private String approvalFlowVersionId;
|
private String documentNo;
|
private String documentName;
|
private String departmentId;
|
private String folderId;
|
private String versionLabel;
|
/** Numbering-rule snapshot, transported only; file consumption is intentionally deferred. */
|
private String qianpiyeId;
|
/** Original upload-component JSON text, not a parsed/rebuilt attachment array. */
|
private String qianpiyeFiles;
|
}
|