package ru.nbch.credit_tracker.entities.external_request.signals;

import jakarta.xml.bind.annotation.*;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "value"
})
public class Person {

    @XmlValue
    protected String value;
    @XmlAttribute(name = "uid", required = true)
    protected Integer uid;
    @XmlAttribute(name = "oksm", required = true)
    protected String oksm;
    @XmlAttribute(name = "s", required = true)
    protected String s;
    @XmlAttribute(name = "n", required = true)
    protected String n;
    @XmlAttribute(name = "m")
    protected String m;
    @XmlAttribute(name = "d", required = true)
    @XmlSchemaType(name = "date")
    protected String d;
    @XmlAttribute(name = "pn", required = true)
    protected String pn;
    @XmlAttribute(name = "pd", required = true)
    @XmlSchemaType(name = "date")
    protected String pd;
    @XmlAttribute(name = "dt", required = true)
    protected String dt;
    @XmlAttribute(name = "odt")
    protected String odt;
    @XmlAttribute(name = "ip", required = true)
    protected String ip;
    @XmlAttribute(name = "consentDate")
    @XmlSchemaType(name = "date")
    protected String consentDate;
    @XmlAttribute(name = "consentPurpose")
    protected String consentPurpose;
    @XmlAttribute(name = "reportUser")
    protected String reportUser;
    @XmlAttribute(name = "liability")
    protected String liability;
    @XmlAttribute(name = "consentPeriod")
    protected String consentPeriod;
    @XmlAttribute(name = "agrDate")
    protected String agrDate;
    @XmlAttribute(name = "reportUserRegNum")
    protected String reportUserRegNum;
    @XmlAttribute(name = "reportUserTaxID")
    protected String reportUserTaxID;
    @XmlAttribute(name = "consentHash")
    protected String consentHash;
    @XmlAttribute(name = "cS")
    protected String cs;
    @XmlAttribute(name = "consentN")
    protected String consentN;
    @XmlAttribute(name = "consentM")
    protected String consentM;
    @XmlAttribute(name = "consentBd")
    @XmlSchemaType(name = "date")
    protected String consentBd;
    @XmlAttribute(name = "consentPn")
    protected String consentPn;
    @XmlAttribute(name = "consentPd")
    @XmlSchemaType(name = "date")
    protected String consentPd;
    @XmlAttribute(name = "consentDivCode")
    protected String consentDivCode;
    @XmlAttribute(name = "consentDt")
    protected String consentDt;
    @XmlAttribute(name = "consentOdt")
    protected String consentOdt;
    @XmlAttribute(name = "consentIssueAuthority")
    protected String consentIssueAuthority;
    @XmlAttribute(name = "inqPurpose")
    protected String inqPurpose;

}
