|
|
|
|
|
|
|
|
|
|
|
package beans; |
|
|
|
import java.sql.Date; |
|
|
|
|
|
|
|
|
|
|
|
public class Conductor { |
|
|
|
private Integer idConductor; |
|
private Integer estatus; |
|
private String nombre; |
|
private Date fechaNacimiento; |
|
private String numLicencia; |
|
private String telefono; |
|
private String password; |
|
private String tokenAcceso; |
|
|
|
public Conductor() { |
|
} |
|
|
|
public Conductor(Integer idConductor, String nombre, Date fechaNacimiento, String numLicencia, String telefono, String password) { |
|
this.idConductor = idConductor; |
|
this.nombre = nombre; |
|
this.fechaNacimiento = fechaNacimiento; |
|
this.numLicencia = numLicencia; |
|
this.telefono = telefono; |
|
this.password = password; |
|
} |
|
|
|
public Conductor(String nombre, Date fechaNacimiento, String numLicencia, String telefono, String password) { |
|
this.nombre = nombre; |
|
this.fechaNacimiento = fechaNacimiento; |
|
this.numLicencia = numLicencia; |
|
this.telefono = telefono; |
|
this.password = password; |
|
} |
|
|
|
|
|
|
|
|
|
public Integer getIdConductor() { |
|
return idConductor; |
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Integer getEstatus() { |
|
return this.estatus; |
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setEstatus(Integer estatus) { |
|
this.estatus = estatus; |
|
} |
|
|
|
|
|
|
|
|
|
public void setIdConductor(Integer idConductor) { |
|
this.idConductor = idConductor; |
|
} |
|
|
|
|
|
|
|
|
|
public String getNombre() { |
|
return nombre; |
|
} |
|
|
|
|
|
|
|
|
|
public void setNombre(String nombre) { |
|
this.nombre = nombre; |
|
} |
|
|
|
|
|
|
|
|
|
public Date getFechaNacimiento() { |
|
return fechaNacimiento; |
|
} |
|
|
|
|
|
|
|
|
|
public void setFechaNacimiento(Date fechaNacimiento) { |
|
this.fechaNacimiento = fechaNacimiento; |
|
} |
|
|
|
|
|
|
|
|
|
public String getNumLicencia() { |
|
return numLicencia; |
|
} |
|
|
|
|
|
|
|
|
|
public void setNumLicencia(String numLicencia) { |
|
this.numLicencia = numLicencia; |
|
} |
|
|
|
|
|
|
|
|
|
public String getTelefono() { |
|
return telefono; |
|
} |
|
|
|
|
|
|
|
|
|
public void setTelefono(String telefono) { |
|
this.telefono = telefono; |
|
} |
|
|
|
|
|
|
|
|
|
public String getPassword() { |
|
return password; |
|
} |
|
|
|
|
|
|
|
|
|
public void setPassword(String password) { |
|
this.password = password; |
|
} |
|
|
|
|
|
|
|
|
|
|
|
public String getTokenAcceso(){ |
|
return this.tokenAcceso; |
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setTokenAcceso(String tokenAcceso){ |
|
this.tokenAcceso = tokenAcceso; |
|
} |
|
|
|
} |
|
|