import { Injectable } from '@angular/core';

@Injectable({
  providedIn: 'root'
})
export class AuthService {

  constructor() { }

  // public get id(){
  //   return localStorage.getItem('id');
  // }

  // public set id(value:string){
  //   localStorage.setItem('id', value);  
  // }

  // public get unidSaude(): UnidSaude{
  //   return JSON.parse();
  // }
  
  // public set unidSaude(value: UnidSaude){
  //   localStorage.setItem('unidSaude', JSON.stringify(value));  
  // }
}

export class unidSaude {
  public email: string = '';
  public senha: string = '';
}
