package com.carmaintenance;

public class LoginResponse {
    private String token;
    private UserInfo userInfo;

    public String getToken() {
        return token;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public static class UserInfo {
        private Integer userId;
        private String username;
        private String realName;
        private String phone;
        private String email;
        private String role;

        public Integer getUserId() {
            return userId;
        }

        public String getUsername() {
            return username;
        }

        public String getRealName() {
            return realName;
        }

        public String getPhone() {
            return phone;
        }

        public String getEmail() {
            return email;
        }

        public String getRole() {
            return role;
        }
    }
}
