package cz.moneta.test.dsl.wso2.objects.traininggov;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * Request model for DO_DEPERS_CUST_TEST service
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class DoDepersCustTestRequest {

    @JsonProperty("ICO_NUM")
    private String icoNum;

    @JsonProperty("FOPCIF")
    private String fopCif;

    @JsonProperty("RC_NUM")
    private String rcNum;

    @JsonProperty("FONCIF")
    private String fonCif;

    @JsonProperty("RS_1")
    @Builder.Default
    private List<Rs1> rsData = new ArrayList<>();

    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class Rs1 {

        @JsonProperty("SRC_SYS_ID_IN")
        private String srcSysIdIn;

    }
}