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

import lombok.Data;

@Data
public class OrganizationAdminiInfoDto {
    private String employeeId;

    private String userId;

    private String userName;

    private String telephone;

    public OrganizationAdminiInfoDto(String employeeId, String userId, String userName, String telephone) {
        this.employeeId = employeeId;
        this.userId = userId;
        this.userName = userName;
        this.telephone = telephone;
    }

    public static OrganizationAdminiInfoDto create(String employeeId, String userId, String userName, String telephone){
        OrganizationAdminiInfoDto dto = new OrganizationAdminiInfoDto(
                employeeId,
                userId,
                userName,
                telephone);
        return dto;
    }
}
