Te amo francis

This commit is contained in:
dangj501 2024-05-08 08:55:10 -06:00
parent 3e5fe22598
commit 25d48af99e
1 changed files with 70 additions and 0 deletions

View File

@ -0,0 +1,70 @@
package mx.uv.Model;
public class Carrera {
private int id;
private String area;
private String nombre;
private String modalidad;
private String campus;
private Double costo;
public Carrera(int id,String area, String nombre, String modalidad, String campus, double costo){
this.id=id;
this.area=area;
this.nombre=nombre;
this.modalidad=modalidad;
this.campus=campus;
this.costo=costo;
}
public void setId(int id){
this.id=id;
}
public void setArea(String area){
this.area=area;
}
public void setNombre(String nombre){
this.nombre=nombre;
}
public void setModalidad(String modalidad){
this.modalidad=modalidad;
}
public void setCampus(String campus){
this.campus=campus;
}
public void setCosto(double costo){
this.costo=costo;
}
public int getId(){
return id;
}
public String getArea(){
return area;
}
public String getNombre(){
return nombre;
}
public String getModalidad(){
return modalidad;
}
public String getCampus(){
return campus;
}
public double getCarrera(){
return costo;
}
}