合规风险
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
package com.chinaunicom.mall.ebtp.common.rm.entity;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
@ -17,6 +20,7 @@ public class RmBaseResponse {
|
||||
|
||||
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class DataItem {
|
||||
private String hit;
|
||||
private String hitlight;
|
||||
@ -31,6 +35,7 @@ public class RmBaseResponse {
|
||||
private String systemdate;
|
||||
private NameDetails nameDetails;
|
||||
private IdNumberTypes idNumberTypes;
|
||||
|
||||
private SanctionsReferences sanctionsReferences;
|
||||
|
||||
// 精确查询 - details字段
|
||||
@ -90,6 +95,7 @@ public class RmBaseResponse {
|
||||
|
||||
@Data
|
||||
// 新增 details 对象
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class Details {
|
||||
private String date;
|
||||
private String gender;
|
||||
@ -99,7 +105,7 @@ public class RmBaseResponse {
|
||||
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 Map<String, List<SanctionsReferencesMap.SanctionReference>> sanctionsReferences; // 支持动态key
|
||||
private Map<String, List<String>> countryDetails; // 如 "Resident of": [...]
|
||||
private String profileNotes;
|
||||
private List<String> sourceDescription;
|
||||
@ -119,10 +125,11 @@ public class RmBaseResponse {
|
||||
}
|
||||
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class SanctionsReferencesMap {
|
||||
// 如 "Sanctions Lists": [{"date":"...","value":"..."}]
|
||||
private Map<String, List<SanctionReference>> sanctionsLists;
|
||||
// 仅用于类型复用
|
||||
@Data
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public static class SanctionReference {
|
||||
private String date;
|
||||
private String value;
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user