package com.bcxin.api.interfaces.tenants.responses;

import com.bcxin.Infrastructures.enums.EmploymentStatus;
import com.bcxin.Infrastructures.enums.MasterSlaveType;
import lombok.Getter;

import java.io.Serializable;

@Getter
public class EmployeeBasicResponse implements Serializable {
    private  String id;
    private String idNum;
    private  boolean hasChild;
    private  EmploymentStatus status;
    private  MasterSlaveType masterSlaveType;

    public static EmployeeBasicResponse create(String id,String idNum, boolean hasChild, EmploymentStatus status, MasterSlaveType masterSlaveType) {
        return  new EmployeeBasicResponse(id,idNum,hasChild,status,masterSlaveType);
    }

    public EmployeeBasicResponse(String id,String idNum, boolean hasChild, EmploymentStatus status, MasterSlaveType masterSlaveType) {
        this.id = id;
        this.idNum = idNum;
        this.hasChild = hasChild;
        this.status = status;
        this.masterSlaveType = masterSlaveType;
    }
}
