package com.bcxin.tenant.domain.snapshots;

import lombok.Data;

import java.io.Serializable;

@Data
public class EmployeeImportedItemSnapshot implements Serializable {
    private int paramIndex;
    private String name;
    private String telephone;
    private String departTreeName;
    private String occupationTypeText;
    private String positionText;
    private String hiredDateText;
    private String credentialTypeText;
    private String credentialNumber;
    private String nation;
    private String education;
    private String politicsStatus;
    private String militaryStatus;
    private String maritalStatus;
    private String emergencyContact;
    private String emergencyPhone;
    private String address;
    private String householdType;

    public EmployeeImportedItemSnapshot(){}

    public EmployeeImportedItemSnapshot(int paramIndex, String name, String telephone, String departTreeName,
                                        String occupationTypeText, String positionText, String hiredDateText, String credentialTypeText,
                                        String credentialNumber, String nation,
                                        String education, String politicsStatus, String militaryStatus, String maritalStatus,
                                        String emergencyContact, String emergencyPhone, String address, String householdType) {
        this.paramIndex = paramIndex;
        this.name = name;
        this.telephone = telephone;
        this.departTreeName = departTreeName;
        this.occupationTypeText = occupationTypeText;
        this.positionText = positionText;
        this.hiredDateText = hiredDateText;
        this.credentialTypeText = credentialTypeText;
        this.credentialNumber = credentialNumber;
        this.nation = nation;
        this.education = education;
        this.politicsStatus = politicsStatus;
        this.militaryStatus = militaryStatus;
        this.maritalStatus = maritalStatus;
        this.emergencyContact = emergencyContact;
        this.emergencyPhone = emergencyPhone;
        this.address = address;
        this.householdType = householdType;
    }



    public static EmployeeImportedItemSnapshot create(int paramIndex, String name,
                                                      String telephone, String departTreeName,
                                                      String occupationTypeText, String positionText, String hiredDateText,
                                                      String credentialTypeText, String credentialNumber, String nation,
                                                      String education, String politicsStatus, String militaryStatus, String maritalStatus,
                                                      String emergencyContact, String emergencyPhone, String address, String householdType) {
        return new EmployeeImportedItemSnapshot(paramIndex, name, telephone, departTreeName, occupationTypeText, positionText, hiredDateText,
                credentialTypeText, credentialNumber,nation, education, politicsStatus, militaryStatus,
                maritalStatus, emergencyContact, emergencyPhone, address, householdType);
    }
}
