package kz.arta.nca_iiscon.data.forward.applicant;

import lombok.Data;
import javax.xml.bind.annotation.*;

@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder = {"iin", "lastName", "firstName", "middleName", "legalLocation",
        "actualLocation", "contacts", "identityDocument", "dateOfBirth",
        "placeOfBirth", "gender", "isForeigner", "citizenship"})
public class Person {

    @XmlElement
    private String iin;

    @XmlElement
    private String lastName;

    @XmlElement
    private String firstName;

    @XmlElement
    private String middleName;

    @XmlElement
    private Location legalLocation;

    @XmlElement
    private Location actualLocation;

    @XmlElement
    private Contacts contacts;

    @XmlElement
    private IdentityDocument identityDocument;

    @XmlElement
    private String dateOfBirth;

    @XmlElement
    private String placeOfBirth;

    @XmlElement
    private String gender;

    @XmlElement
    private Boolean isForeigner;

    @XmlElement
    private String citizenship;
}
