Advertisement
Guest User

Untitled

a guest
Sep 14th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 2.14 KB | None | 0 0
  1. package cl.utfsm.base.domain;
  2.  
  3. import java.util.Set;
  4.  
  5. import org.springframework.security.GrantedAuthority;
  6. import org.springframework.security.GrantedAuthorityImpl;
  7. import org.springframework.security.userdetails.UserDetails;
  8.  
  9. public class Doctor implements UserDetails{
  10.     private static final long serialVersionUID = 378521820644053287L;
  11.     private Integer idDoctor;
  12.     private String username;
  13.     private String password;
  14.     private String nombres;
  15.     private String apellidos;
  16.     private String fono;
  17.     private String direccion;
  18.     private Integer cod_especialidad;
  19.     private Set<MedicamentoAlumno> DocToMedAlum;
  20.     private Set<TipoEspecialidad> especialidad;
  21.    
  22.    
  23.     public void setEspecialidad(Set<TipoEspecialidad> especialidad) {
  24.         this.especialidad = especialidad;
  25.     }
  26.  
  27.     public Set<TipoEspecialidad> getEspecialidad() {
  28.         return especialidad;
  29.     }
  30.    
  31.     public Set<MedicamentoAlumno> getDocToMedAlum() {
  32.         return DocToMedAlum;
  33.     }
  34.  
  35.     public void setDocToMedAlum(Set<MedicamentoAlumno> docToMedAlum) {
  36.         DocToMedAlum = docToMedAlum;
  37.     }
  38.  
  39.     public Integer getIdDoctor() {
  40.         return idDoctor;
  41.     }
  42.  
  43.     public void setIdDoctor(Integer idDoctor) {
  44.         this.idDoctor = idDoctor;
  45.     }
  46.  
  47.     public String getUsername() {
  48.         return username;
  49.     }
  50.  
  51.     public void setUsername(String username) {
  52.         this.username = username;
  53.     }
  54.  
  55.     public String getPassword() {
  56.         return password;
  57.     }
  58.  
  59.     public void setPassword(String password) {
  60.         this.password = password;
  61.     }
  62.  
  63.     public String getNombres() {
  64.         return nombres;
  65.     }
  66.  
  67.     public void setNombres(String nombres) {
  68.         this.nombres = nombres;
  69.     }
  70.  
  71.     public String getApellidos() {
  72.         return apellidos;
  73.     }
  74.  
  75.     public void setApellidos(String apellidos) {
  76.         this.apellidos = apellidos;
  77.     }
  78.  
  79.     public String getFono() {
  80.         return fono;
  81.     }
  82.  
  83.     public void setFono(String fono) {
  84.         this.fono = fono;
  85.     }
  86.  
  87.     public String getDireccion() {
  88.         return direccion;
  89.     }
  90.  
  91.     public void setDireccion(String direccion) {
  92.         this.direccion = direccion;
  93.     }
  94.  
  95.     public Integer getCod_especialidad() {
  96.         return cod_especialidad;
  97.     }
  98.  
  99.     public void setCod_especialidad(Integer cod_especialidad) {
  100.         this.cod_especialidad = cod_especialidad;
  101.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement