Postulante.java 2.76 KB
Newer Older
1 2
package com.roshka.proyectofinal.entity;

3 4 5 6

//Creacion del objeto Postulante
public class Postulante {

7
    private int id,nroCedula,bootcampId;
8
    private String nombre,apellido,telefono,direccion,correo;
9
    private boolean   expLaboral,estudioUniversitario,notebook,aceptado;
10 11 12 13 14 15 16

    //Los parametros que reciban los metodos get estaran en ingles con camelCase para evitar confusiones


    public Postulante() {
    }

17
    public Postulante(int nroCedula, String nombre, String apellido, String telefono, String direccion, String correo, boolean expLaboral, boolean estudioUniversitario, boolean notebook, int bootcampId, boolean aceptado) {
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
        this.nroCedula = nroCedula;
        this.nombre = nombre;
        this.apellido = apellido;
        this.telefono = telefono;
        this.direccion = direccion;
        this.correo = correo;
        this.expLaboral = expLaboral;
        this.estudioUniversitario = estudioUniversitario;
        this.notebook = notebook;
        this.bootcampId = bootcampId;
        this.aceptado = aceptado;
    }
    public int getId() {
        return id;
    }
    public int getNro_cedula() {
        return nroCedula;
    }
    public void setNro_cedula(int card_id) {
        this.nroCedula = card_id;
    }
    public String getNombre() {
        return nombre;
    }
42
    public void setNombre(String name) {
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
        this.nombre = name;
    }
    public String getApellido() {
        return apellido;
    }
    public void setApellido(String lastName) {
        this.apellido = lastName;
    }
    public String getTelefono() {
        return telefono;
    }
    public void setTelefono(String telephone) {
        this.telefono = telephone;
    }
    public String getDireccion() {
        return direccion;
    }
    public void setDireccion(String addres) {
        this.direccion = addres;
    }
    public String getCorreo() {
        return correo;
    }
    public void setCorreo(String email) {
        this.correo = email;
    }
    public boolean getExpLaboral(){
        return expLaboral;
    }
    public void setExpLaboral(boolean laboralExperience){
        this.expLaboral = laboralExperience;
    }
    public boolean getEstudioUniversitario(){
        return estudioUniversitario;
    }
    public void setEstudioUniversitario(boolean university){
        this.estudioUniversitario = university;
    }
    public boolean getNotebook(){
        return notebook;
    }
    public void setNotebook(boolean notebook){
        this.notebook = notebook;
    }
87 88 89 90 91 92 93
    public boolean getAceptado(){
        return aceptado;
    }
    public void setAceptado(boolean acepted){
        this.aceptado = acepted;
    }
    public int getBootcampId(){
94 95
        return bootcampId;
    }
96
    public void setBootcampId(int bootcampId){
97 98 99 100
        this.bootcampId = bootcampId;
    }

}