content: package io.aharoj.barbershop_backend.modules.auth.dto.response;
  
  import java.util.List;
  
  public class JwtResponse {
    private String accessToken; // old BEARIRER TOKEN
    private String refreshToken; // NEW LOGIC
    private String type = "Bearer"; // The type of token (e.g., "Bearer") is a textual piece of information
    private Long id;
    private String username;
    private String email;
    private List<String> roles;
  
    public JwtResponse(String accessToken, String refreshToken, Long id, String username, String email,
        List<String> roles) {
      this.accessToken = accessToken;
      this.refreshToken = refreshToken;
      this.id = id;
      this.username = username;
      this.email = email;
      this.roles = roles;
    }
  
    public String getAccessToken() {
      return accessToken;
    }
  
    public void setAccessToken(String accessToken) {
      this.accessToken = accessToken;
    }
  
    public String getRefreshToken() {
      return refreshToken;
    }
  
    public void setRefreshToken(String refreshToken) {
      this.refreshToken = refreshToken;
    }
  
    public String getType() {
      return type;
    }
  
    public void setType(String type) {
      this.type = type;
    }
  
    public Long getId() {
      return id;
    }
  
    public void setId(Long id) {
      this.id = id;
    }
  
    public String getUsername() {
      return username;
    }
  
    public void setUsername(String username) {
      this.username = username;
    }
  
    public String getEmail() {
      return email;
    }
  
    public void setEmail(String email) {
      this.email = email;
    }
  
    public List<String> getRoles() {
      return roles;
    }
  
    public void setRoles(List<String> roles) {
      this.roles = roles;
    }
  }
  