Datasets:
ArXiv:
License:
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package beans; | |
| import java.sql.Date; | |
| /** | |
| * | |
| * @author Juan Carlos | |
| */ | |
| 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; | |
| } | |
| /** | |
| * @return the idConductor | |
| */ | |
| public Integer getIdConductor() { | |
| return idConductor; | |
| } | |
| /** | |
| * | |
| * @return the estatus | |
| */ | |
| public Integer getEstatus() { | |
| return this.estatus; | |
| } | |
| /** | |
| * | |
| * @param estatus the estatus to set | |
| */ | |
| public void setEstatus(Integer estatus) { | |
| this.estatus = estatus; | |
| } | |
| /** | |
| * @param idConductor the idConductor to set | |
| */ | |
| public void setIdConductor(Integer idConductor) { | |
| this.idConductor = idConductor; | |
| } | |
| /** | |
| * @return the nombre | |
| */ | |
| public String getNombre() { | |
| return nombre; | |
| } | |
| /** | |
| * @param nombre the nombre to set | |
| */ | |
| public void setNombre(String nombre) { | |
| this.nombre = nombre; | |
| } | |
| /** | |
| * @return the fechaNacimiento | |
| */ | |
| public Date getFechaNacimiento() { | |
| return fechaNacimiento; | |
| } | |
| /** | |
| * @param fechaNacimiento the fechaNacimiento to set | |
| */ | |
| public void setFechaNacimiento(Date fechaNacimiento) { | |
| this.fechaNacimiento = fechaNacimiento; | |
| } | |
| /** | |
| * @return the numLicencia | |
| */ | |
| public String getNumLicencia() { | |
| return numLicencia; | |
| } | |
| /** | |
| * @param numLicencia the numLicencia to set | |
| */ | |
| public void setNumLicencia(String numLicencia) { | |
| this.numLicencia = numLicencia; | |
| } | |
| /** | |
| * @return the telefono | |
| */ | |
| public String getTelefono() { | |
| return telefono; | |
| } | |
| /** | |
| * @param telefono the telefono to set | |
| */ | |
| public void setTelefono(String telefono) { | |
| this.telefono = telefono; | |
| } | |
| /** | |
| * @return the password | |
| */ | |
| public String getPassword() { | |
| return password; | |
| } | |
| /** | |
| * @param password the password to set | |
| */ | |
| public void setPassword(String password) { | |
| this.password = password; | |
| } | |
| /** | |
| * | |
| * @return the tokenAcceso | |
| */ | |
| public String getTokenAcceso(){ | |
| return this.tokenAcceso; | |
| } | |
| /** | |
| * | |
| * @param tokenAcceso the tokenAcceso to set | |
| */ | |
| public void setTokenAcceso(String tokenAcceso){ | |
| this.tokenAcceso = tokenAcceso; | |
| } | |
| } | |