Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
529 B
1
Indexable
Never
public class User {
	
	public int id;
	public String name;
	public String email;
	public string password;
	public String gender;
	
	public User() {};
	
	public User(int id,String name, String email,  String password, String gender) {
		this.id = id;
		this.name = name;
		this.email = email;
		this.password = password;
		this.gender = gender;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", email=" + email + ", password=" + password + ", gender=" + gender + "]";