mezontleTeam/User.java

46 lines
881 B
Java
Raw Normal View History

2024-03-03 22:08:11 +00:00
public class User {
private int id;
private String nombre;
private String email;
private String contrasena;
public User(int id, String nombre, String email, String contrasena) {
this.id = id;
this.nombre = nombre;
this.email = email;
this.contrasena = contrasena;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getNombre() {
return nombre;
}
public void setNombre(String nombre) {
this.nombre = nombre;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getContrasena() {
return contrasena;
}
public void setContrasena(String contrasena) {
this.contrasena = contrasena;
}
}