package com.bcxin.tenant.domain.readers.dtos;

import com.bcxin.Infrastructures.enums.CredentialType;
import com.bcxin.Infrastructures.enums.EmploymentStatus;
import com.bcxin.Infrastructures.enums.OccupationType;
import lombok.Getter;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

@Getter
public class EmployeeRecordDto implements Serializable {
    private final String tenantUserId;
    private final String name;
    private final CredentialType credentialType;
    private final String credentialNumber;
    private final OccupationType occupationType;
    private final Date actionTime;
    private final EmploymentStatus status;
    private final String actionNode;
    private final String operatorName;
    private final Date operatorTime;

    public EmployeeRecordDto(String tenantUserId, String name,
                             CredentialType credentialType, String credentialNumber,
                             OccupationType occupationType, Date actionTime, EmploymentStatus status,
                             String actionNode, String operatorName, Date operatorTime) {
        this.tenantUserId = tenantUserId;
        this.name = name;
        this.credentialType = credentialType;
        this.credentialNumber = credentialNumber;
        this.occupationType = occupationType;
        this.actionTime = actionTime;
        this.status = status;
        this.actionNode = actionNode;
        this.operatorName = operatorName;
        this.operatorTime = operatorTime;
    }
}
