From 25d48af99ea906618a317c5de31c81aa30bf80c7 Mon Sep 17 00:00:00 2001 From: dangj501 Date: Wed, 8 May 2024 08:55:10 -0600 Subject: [PATCH] Te amo francis --- .../src/main/java/mx/uv/Model/Carrera.java | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 backend/src/main/java/mx/uv/Model/Carrera.java diff --git a/backend/src/main/java/mx/uv/Model/Carrera.java b/backend/src/main/java/mx/uv/Model/Carrera.java new file mode 100644 index 0000000..541f44e --- /dev/null +++ b/backend/src/main/java/mx/uv/Model/Carrera.java @@ -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; + } + + + +}