Advertisement
Cabana_Mario_Ariel_F

Paciente modelo tp1

Apr 8th, 2022 (edited)
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.51 KB | None | 0 0
  1. package modelotp1;
  2.  
  3. public class Pacientes extends Usuarios{
  4.     //Atributos
  5.     private String obraSocial,profecional_Atiende,historial_Med;
  6.     private Turnos turno;//Paciente tiene un Turno.
  7.     //Metodos de acceso para obraSocial y Profecional que atiende
  8.     String getObraSocial(){return obraSocial;}
  9.     String getDoc(){return profecional_Atiende;}
  10.     void setObraSocial(String o){obraSocial=o;}
  11.     void setDoc(String d){profecional_Atiende=d;}
  12.     void cambiarTurno() {};
  13.     void generarTurno() {};
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement