Approval DTO
parent
a4a94da20b
commit
f9bead4543
@ -0,0 +1,15 @@
|
|||||||
|
package com.mfsys.aconnect.client.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class AutoIncrementFieldDTO {
|
||||||
|
|
||||||
|
private String key;
|
||||||
|
private String type;
|
||||||
|
private List<Integer> position;
|
||||||
|
private boolean incrementByCategoryTag;
|
||||||
|
private boolean incrementIfFlowTerminated;
|
||||||
|
}
|
||||||
|
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
package com.mfsys.aconnect.client.dto;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class FormCounterDTO {
|
||||||
|
|
||||||
|
private String POR_ORGACODE;
|
||||||
|
private String autoIncrementField;
|
||||||
|
private int autoIncrementLength;
|
||||||
|
private String paddingCharacter;
|
||||||
|
}
|
||||||
@ -0,0 +1,38 @@
|
|||||||
|
package com.mfsys.aconnect.client.dto;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class WorkflowApprovalDTO {
|
||||||
|
|
||||||
|
private String workFlowId;
|
||||||
|
|
||||||
|
@JsonProperty("SUS_USERCODE")
|
||||||
|
private String susUserCode;
|
||||||
|
|
||||||
|
private String formId;
|
||||||
|
private String postProcessFormId;
|
||||||
|
private String operation;
|
||||||
|
|
||||||
|
@JsonProperty("POR_ORGACODE")
|
||||||
|
private String porOrgacode;
|
||||||
|
|
||||||
|
private Map<String, Object> filesMap;
|
||||||
|
|
||||||
|
private List<AutoIncrementFieldDTO> autoIncrementFields;
|
||||||
|
private List<FormCounterDTO> formCounters;
|
||||||
|
|
||||||
|
private String filter;
|
||||||
|
|
||||||
|
private String arrayFilters;
|
||||||
|
|
||||||
|
@JsonProperty("$set")
|
||||||
|
private String set;
|
||||||
|
|
||||||
|
@JsonProperty("$push")
|
||||||
|
private String push;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue