From 70817a4176b1c97f3406597561f091a3789f2482 Mon Sep 17 00:00:00 2001 From: diego2031 Date: Fri, 26 Apr 2024 19:30:33 -0600 Subject: [PATCH] Agregada la clase Usuario --- backend/src/main/java/mx/uv/Usuario.java | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 backend/src/main/java/mx/uv/Usuario.java diff --git a/backend/src/main/java/mx/uv/Usuario.java b/backend/src/main/java/mx/uv/Usuario.java new file mode 100644 index 0000000..3d9d740 --- /dev/null +++ b/backend/src/main/java/mx/uv/Usuario.java @@ -0,0 +1,57 @@ +package main.java.mx.uv; + +public class Usuario { + String id; + String correo; + String password; + String nombre; + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getCorreo() { + return correo; + } + + public void setCorreo(String correo) { + this.correo = correo; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getNombre() { + return nombre; + } + + public void setNombre(String nombre) { + this.nombre = nombre; + } + + @Override + public String toString() { + return "Usuario [id=" + id + ", correo=" + correo + ", password=" + password + ", nombre=" + nombre +"]"; + } + + public Usuario(){ + + } + + public Usuario(String id, String correo, String password, String nombre) { + this.id = id; + this.correo = correo; + this.password = password; + this.nombre = nombre; + } + +} \ No newline at end of file