ADD file via upload

main
p94fgc8jk 6 months ago
parent ad293833fd
commit c451f8168d

@ -0,0 +1,69 @@
/*
* Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
* Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
*/
package com.example.web;
/**
*
* @author Archer
*/
public class User1 {
private int userId;
private String username;
private String password;
public User1() {
}
public User1(int userId) {
this.userId = userId;
}
public User1(String username, String password) {
this.username = username;
this.password = password;
}
public User1(int userId, String username, String password) {
this.userId = userId;
this.username = username;
this.password = password;
}
public int getuserId() {
return userId;
}
public void setuserId(int userId) {
this.userId = userId;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
@Override
public String toString() {
return "user{" +
"userId=" + userId +
", username='" + username + '\'' +
", password='" + password + '\'' +
'}';
}
}
Loading…
Cancel
Save