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

import com.bcxin.api.interfaces.ResponseAbstract;
import lombok.Getter;

/**
 * @Auther linqinglin
 * @date 2022/5/5 22:36
 */
@Getter
public class LoginUserResponse extends ResponseAbstract {

    private final String id;
    private final String name;
    private final String telephone;

    public LoginUserResponse(String id, String name, String telephone){
        this.id = id;
        this.name = name;
        this.telephone = telephone;
    }

    public static LoginUserResponse create(String id, String name, String telephone){
        return new LoginUserResponse(id,name,telephone);
    }
}
