合规风险
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
package com.chinaunicom.mall.ebtp.extend.rm.entity;
|
||||
|
||||
import com.chinaunicom.mall.ebtp.common.rm.entity.RmBaseResponse;
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
@ -17,6 +19,7 @@ public class RmBaseResponseDTO {
|
||||
|
||||
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class DataItem {
|
||||
private String hit;
|
||||
private String hitlight;
|
||||
@ -90,6 +93,7 @@ public class RmBaseResponseDTO {
|
||||
|
||||
@Data
|
||||
// 新增 details 对象
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class Details {
|
||||
private String date;
|
||||
private String gender;
|
||||
@ -99,7 +103,8 @@ public class RmBaseResponseDTO {
|
||||
private Map<String, List<String>> idNumberTypes; // 如 "OFAC Unique ID": [...]
|
||||
private Map<String, List<String>> dateDetails; // 如 "Inactive as of (PEP)": [...]
|
||||
private List<String> birthPlace;
|
||||
private SanctionsReferencesMap sanctionsReferences;
|
||||
// private SanctionsReferencesMap sanctionsReferences;
|
||||
private Map<String, List<SanctionsReferencesMap.SanctionReference>> sanctionsReferences; // 支持动态key
|
||||
private Map<String, List<String>> countryDetails; // 如 "Resident of": [...]
|
||||
private String profileNotes;
|
||||
private List<String> sourceDescription;
|
||||
@ -119,10 +124,12 @@ public class RmBaseResponseDTO {
|
||||
}
|
||||
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class SanctionsReferencesMap {
|
||||
// 如 "Sanctions Lists": [{"date":"...","value":"..."}]
|
||||
private Map<String, List<SanctionReference>> sanctionsLists;
|
||||
// private Map<String, List<SanctionReference>> sanctionsLists;
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class SanctionReference {
|
||||
private String date;
|
||||
private String value;
|
||||
|
Reference in New Issue
Block a user