|
|
@@ -0,0 +1,366 @@
|
|
|
+package com.ydtech.modules.order.entity.api.huatai.response;
|
|
|
+
|
|
|
+import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
+import lombok.Data;
|
|
|
+import lombok.NoArgsConstructor;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+import java.util.stream.Collectors;
|
|
|
+
|
|
|
+@NoArgsConstructor
|
|
|
+@Data
|
|
|
+public class HuaTaiImageInitParamResponse {
|
|
|
+
|
|
|
+
|
|
|
+ @JsonProperty("accessKeyVo")
|
|
|
+ private AccessKeyVoDTO accessKeyVo;
|
|
|
+
|
|
|
+ @JsonProperty("appSource")
|
|
|
+ private String appSource;
|
|
|
+
|
|
|
+ @JsonProperty("archType")
|
|
|
+ private String archType;
|
|
|
+
|
|
|
+ @JsonProperty("arriveNotify")
|
|
|
+ private Integer arriveNotify;
|
|
|
+
|
|
|
+ @JsonProperty("bucket")
|
|
|
+ private String bucket;
|
|
|
+
|
|
|
+ @JsonProperty("bussDate")
|
|
|
+ private String bussDate;
|
|
|
+
|
|
|
+ @JsonProperty("bussNo")
|
|
|
+ private String bussNo;
|
|
|
+
|
|
|
+ @JsonProperty("bussType")
|
|
|
+ private String bussType;
|
|
|
+
|
|
|
+ @JsonProperty("bussTypeName")
|
|
|
+ private String bussTypeName;
|
|
|
+
|
|
|
+ @JsonProperty("comCode")
|
|
|
+ private String comCode;
|
|
|
+
|
|
|
+ @JsonProperty("comName")
|
|
|
+ private String comName;
|
|
|
+
|
|
|
+ @JsonProperty("docId")
|
|
|
+ private Integer docId;
|
|
|
+
|
|
|
+ @JsonProperty("documentFile")
|
|
|
+ private String documentFile;
|
|
|
+
|
|
|
+ @JsonProperty("dstKey")
|
|
|
+ private String dstKey;
|
|
|
+
|
|
|
+ @JsonProperty("extendInfo")
|
|
|
+ private Object extendInfo;
|
|
|
+
|
|
|
+ @JsonProperty("imgVersion")
|
|
|
+ private String imgVersion;
|
|
|
+
|
|
|
+ @JsonProperty("initTime")
|
|
|
+ private Long initTime;
|
|
|
+
|
|
|
+ @JsonProperty("maxFileSize")
|
|
|
+ private Integer maxFileSize;
|
|
|
+
|
|
|
+ @JsonProperty("maxShowIdx")
|
|
|
+ private Double maxShowIdx;
|
|
|
+
|
|
|
+ @JsonProperty("maxUnUploadNum")
|
|
|
+ private Integer maxUnUploadNum;
|
|
|
+
|
|
|
+ @JsonProperty("mediaFile")
|
|
|
+ private String mediaFile;
|
|
|
+
|
|
|
+ @JsonProperty("netType")
|
|
|
+ private String netType;
|
|
|
+
|
|
|
+ @JsonProperty("optUserId")
|
|
|
+ private String optUserId;
|
|
|
+
|
|
|
+ @JsonProperty("optUserName")
|
|
|
+ private String optUserName;
|
|
|
+
|
|
|
+ @JsonProperty("pictureFile")
|
|
|
+ private String pictureFile;
|
|
|
+
|
|
|
+ @JsonProperty("riskCode")
|
|
|
+ private String riskCode;
|
|
|
+
|
|
|
+ @JsonProperty("riskCodeName")
|
|
|
+ private String riskCodeName;
|
|
|
+
|
|
|
+ @JsonProperty("showDelete")
|
|
|
+ private Integer showDelete;
|
|
|
+
|
|
|
+ @JsonProperty("showImgType")
|
|
|
+ private Object showImgType;
|
|
|
+
|
|
|
+ @JsonProperty("storageType")
|
|
|
+ private String storageType;
|
|
|
+
|
|
|
+ @JsonProperty("supportFileTypes")
|
|
|
+ private String supportFileTypes;
|
|
|
+
|
|
|
+ @JsonProperty("token")
|
|
|
+ private String token;
|
|
|
+
|
|
|
+ @JsonProperty("typeSelectVos")
|
|
|
+ private List<TypeSelectVosDTO> typeSelectVos;
|
|
|
+
|
|
|
+ @JsonProperty("typeTreeNodeVo")
|
|
|
+ private TypeTreeNodeVoDTO typeTreeNodeVo;
|
|
|
+
|
|
|
+ @JsonProperty("typeTreeNodeVos")
|
|
|
+ private Object typeTreeNodeVos;
|
|
|
+
|
|
|
+ @JsonProperty("uploadNode")
|
|
|
+ private String uploadNode;
|
|
|
+
|
|
|
+ @JsonProperty("uploadedFileList")
|
|
|
+ private List<String> uploadedFileList;
|
|
|
+
|
|
|
+ @JsonProperty("viewShowType")
|
|
|
+ private String viewShowType;
|
|
|
+
|
|
|
+ @JsonProperty("viewType")
|
|
|
+ private String viewType;
|
|
|
+
|
|
|
+ public List<TypeSelectVosDTO.ChildrenDTO> getChildrenDTO() {
|
|
|
+ return this.getTypeSelectVos().stream().map(TypeSelectVosDTO::getChildren).flatMap(List::stream).collect(Collectors.toList());
|
|
|
+ }
|
|
|
+
|
|
|
+ public static TypeSelectVosDTO.ChildrenDTO filteringTypeCode(List<TypeSelectVosDTO.ChildrenDTO> list, String typeCode){
|
|
|
+ return list.stream().filter(x -> x.getTypeCode().equals(typeCode)).collect(Collectors.toList()).get(0);
|
|
|
+ }
|
|
|
+
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class AccessKeyVoDTO {
|
|
|
+ @JsonProperty("accessKeyId")
|
|
|
+ private String accessKeyId;
|
|
|
+ @JsonProperty("accessKeySecret")
|
|
|
+ private String accessKeySecret;
|
|
|
+ @JsonProperty("endpoint")
|
|
|
+ private Object endpoint;
|
|
|
+ @JsonProperty("ossRegion")
|
|
|
+ private String ossRegion;
|
|
|
+ @JsonProperty("token")
|
|
|
+ private String token;
|
|
|
+ }
|
|
|
+
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class TypeTreeNodeVoDTO {
|
|
|
+ @JsonProperty("acceptDragDrop")
|
|
|
+ private Integer acceptDragDrop;
|
|
|
+ @JsonProperty("archType")
|
|
|
+ private String archType;
|
|
|
+ @JsonProperty("bussNo")
|
|
|
+ private String bussNo;
|
|
|
+ @JsonProperty("bussType")
|
|
|
+ private String bussType;
|
|
|
+ @JsonProperty("bussTypeName")
|
|
|
+ private String bussTypeName;
|
|
|
+ @JsonProperty("children")
|
|
|
+ private List<ChildrenDTO> children;
|
|
|
+ @JsonProperty("count")
|
|
|
+ private Integer count;
|
|
|
+ @JsonProperty("docId")
|
|
|
+ private Integer docId;
|
|
|
+ @JsonProperty("docMaxSize")
|
|
|
+ private Integer docMaxSize;
|
|
|
+ @JsonProperty("label")
|
|
|
+ private String label;
|
|
|
+ @JsonProperty("limitSumCount")
|
|
|
+ private Integer limitSumCount;
|
|
|
+ @JsonProperty("lockFlag")
|
|
|
+ private Integer lockFlag;
|
|
|
+ @JsonProperty("medMaxSize")
|
|
|
+ private Integer medMaxSize;
|
|
|
+ @JsonProperty("nodeType")
|
|
|
+ private String nodeType;
|
|
|
+ @JsonProperty("parentTypeCode")
|
|
|
+ private Object parentTypeCode;
|
|
|
+ @JsonProperty("picMaxSize")
|
|
|
+ private Integer picMaxSize;
|
|
|
+ @JsonProperty("picQuality")
|
|
|
+ private Integer picQuality;
|
|
|
+ @JsonProperty("readable")
|
|
|
+ private Integer readable;
|
|
|
+ @JsonProperty("riskCode")
|
|
|
+ private String riskCode;
|
|
|
+ @JsonProperty("riskCodeName")
|
|
|
+ private String riskCodeName;
|
|
|
+ @JsonProperty("typeCode")
|
|
|
+ private String typeCode;
|
|
|
+ @JsonProperty("typePath")
|
|
|
+ private Object typePath;
|
|
|
+ @JsonProperty("typePathName")
|
|
|
+ private Object typePathName;
|
|
|
+ @JsonProperty("writable")
|
|
|
+ private Integer writable;
|
|
|
+
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class ChildrenDTO {
|
|
|
+ @JsonProperty("acceptDragDrop")
|
|
|
+ private Integer acceptDragDrop;
|
|
|
+ @JsonProperty("archType")
|
|
|
+ private Object archType;
|
|
|
+ @JsonProperty("bussNo")
|
|
|
+ private Object bussNo;
|
|
|
+ @JsonProperty("bussType")
|
|
|
+ private Object bussType;
|
|
|
+ @JsonProperty("bussTypeName")
|
|
|
+ private Object bussTypeName;
|
|
|
+ @JsonProperty("children")
|
|
|
+ private Object children;
|
|
|
+ @JsonProperty("count")
|
|
|
+ private Integer count;
|
|
|
+ @JsonProperty("docId")
|
|
|
+ private Object docId;
|
|
|
+ @JsonProperty("docMaxSize")
|
|
|
+ private Integer docMaxSize;
|
|
|
+ @JsonProperty("label")
|
|
|
+ private String label;
|
|
|
+ @JsonProperty("limitSumCount")
|
|
|
+ private Integer limitSumCount;
|
|
|
+ @JsonProperty("lockFlag")
|
|
|
+ private Integer lockFlag;
|
|
|
+ @JsonProperty("medMaxSize")
|
|
|
+ private Integer medMaxSize;
|
|
|
+ @JsonProperty("nodeType")
|
|
|
+ private String nodeType;
|
|
|
+ @JsonProperty("parentTypeCode")
|
|
|
+ private String parentTypeCode;
|
|
|
+ @JsonProperty("picMaxSize")
|
|
|
+ private Integer picMaxSize;
|
|
|
+ @JsonProperty("picQuality")
|
|
|
+ private Integer picQuality;
|
|
|
+ @JsonProperty("readable")
|
|
|
+ private Integer readable;
|
|
|
+ @JsonProperty("riskCode")
|
|
|
+ private Object riskCode;
|
|
|
+ @JsonProperty("riskCodeName")
|
|
|
+ private Object riskCodeName;
|
|
|
+ @JsonProperty("typeCode")
|
|
|
+ private String typeCode;
|
|
|
+ @JsonProperty("typePath")
|
|
|
+ private Object typePath;
|
|
|
+ @JsonProperty("typePathName")
|
|
|
+ private Object typePathName;
|
|
|
+ @JsonProperty("writable")
|
|
|
+ private Integer writable;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class TypeSelectVosDTO {
|
|
|
+ @JsonProperty("acceptDragDrop")
|
|
|
+ private Integer acceptDragDrop;
|
|
|
+ @JsonProperty("archType")
|
|
|
+ private String archType;
|
|
|
+ @JsonProperty("bussNo")
|
|
|
+ private String bussNo;
|
|
|
+ @JsonProperty("bussType")
|
|
|
+ private String bussType;
|
|
|
+ @JsonProperty("bussTypeName")
|
|
|
+ private String bussTypeName;
|
|
|
+ @JsonProperty("children")
|
|
|
+ private List<ChildrenDTO> children;
|
|
|
+ @JsonProperty("count")
|
|
|
+ private Integer count;
|
|
|
+ @JsonProperty("docId")
|
|
|
+ private Integer docId;
|
|
|
+ @JsonProperty("docMaxSize")
|
|
|
+ private Integer docMaxSize;
|
|
|
+ @JsonProperty("label")
|
|
|
+ private String label;
|
|
|
+ @JsonProperty("limitSumCount")
|
|
|
+ private Integer limitSumCount;
|
|
|
+ @JsonProperty("lockFlag")
|
|
|
+ private Integer lockFlag;
|
|
|
+ @JsonProperty("medMaxSize")
|
|
|
+ private Integer medMaxSize;
|
|
|
+ @JsonProperty("nodeType")
|
|
|
+ private String nodeType;
|
|
|
+ @JsonProperty("parentTypeCode")
|
|
|
+ private String parentTypeCode;
|
|
|
+ @JsonProperty("picMaxSize")
|
|
|
+ private Integer picMaxSize;
|
|
|
+ @JsonProperty("picQuality")
|
|
|
+ private Integer picQuality;
|
|
|
+ @JsonProperty("readable")
|
|
|
+ private Integer readable;
|
|
|
+ @JsonProperty("riskCode")
|
|
|
+ private String riskCode;
|
|
|
+ @JsonProperty("riskCodeName")
|
|
|
+ private String riskCodeName;
|
|
|
+ @JsonProperty("typeCode")
|
|
|
+ private String typeCode;
|
|
|
+ @JsonProperty("typePath")
|
|
|
+ private String typePath;
|
|
|
+ @JsonProperty("typePathName")
|
|
|
+ private String typePathName;
|
|
|
+ @JsonProperty("writable")
|
|
|
+ private Integer writable;
|
|
|
+
|
|
|
+ @NoArgsConstructor
|
|
|
+ @Data
|
|
|
+ public static class ChildrenDTO {
|
|
|
+ @JsonProperty("acceptDragDrop")
|
|
|
+ private Integer acceptDragDrop;
|
|
|
+ @JsonProperty("archType")
|
|
|
+ private String archType;
|
|
|
+ @JsonProperty("bussNo")
|
|
|
+ private String bussNo;
|
|
|
+ @JsonProperty("bussType")
|
|
|
+ private String bussType;
|
|
|
+ @JsonProperty("bussTypeName")
|
|
|
+ private String bussTypeName;
|
|
|
+ @JsonProperty("children")
|
|
|
+ private Object children;
|
|
|
+ @JsonProperty("count")
|
|
|
+ private Integer count;
|
|
|
+ @JsonProperty("docId")
|
|
|
+ private Integer docId;
|
|
|
+ @JsonProperty("docMaxSize")
|
|
|
+ private Integer docMaxSize;
|
|
|
+ @JsonProperty("label")
|
|
|
+ private String label;
|
|
|
+ @JsonProperty("limitSumCount")
|
|
|
+ private Integer limitSumCount;
|
|
|
+ @JsonProperty("lockFlag")
|
|
|
+ private Integer lockFlag;
|
|
|
+ @JsonProperty("medMaxSize")
|
|
|
+ private Integer medMaxSize;
|
|
|
+ @JsonProperty("nodeType")
|
|
|
+ private String nodeType;
|
|
|
+ @JsonProperty("parentTypeCode")
|
|
|
+ private String parentTypeCode;
|
|
|
+ @JsonProperty("picMaxSize")
|
|
|
+ private Integer picMaxSize;
|
|
|
+ @JsonProperty("picQuality")
|
|
|
+ private Integer picQuality;
|
|
|
+ @JsonProperty("readable")
|
|
|
+ private Integer readable;
|
|
|
+ @JsonProperty("riskCode")
|
|
|
+ private String riskCode;
|
|
|
+ @JsonProperty("riskCodeName")
|
|
|
+ private String riskCodeName;
|
|
|
+ @JsonProperty("typeCode")
|
|
|
+ private String typeCode;
|
|
|
+ @JsonProperty("typePath")
|
|
|
+ private String typePath;
|
|
|
+ @JsonProperty("typePathName")
|
|
|
+ private String typePathName;
|
|
|
+ @JsonProperty("writable")
|
|
|
+ private Integer writable;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|