File size: 3,462 Bytes
c574d3a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
/*
* 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;
}
}
|