package com.bcxin.tenant.domain.conditions.requests;

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

@Getter
public class TenantUserSameCheckRequest {
    private final CredentialType credentialType;
    private final String credentialNumber;
    private final String telephone;

    public TenantUserSameCheckRequest(CredentialType credentialType, String credentialNumber, String telephone) {
        this.credentialType = credentialType;
        this.credentialNumber = credentialNumber;
        this.telephone = telephone;
    }

    public static TenantUserSameCheckRequest create(CredentialType credentialType, String credentialNumber, String telephone) {
        return new TenantUserSameCheckRequest(credentialType, credentialNumber, telephone);
    }
}
