forked from nirala96/open_source_start
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPOJO.java
More file actions
26 lines (16 loc) · 679 Bytes
/
POJO.java
File metadata and controls
26 lines (16 loc) · 679 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package net.codejava;
public class User {
private int ID;
private String Name;
private String Email;
private String Password;
//getters and Setters block
public int getID() {return ID;}
public void setID(String newID) {this.ID = newID;}
public string getName() {return Name;}
public void setName(String newName) {this.Name = newName;}
public string getEmail() {return Email;}
public void setEmail(String newEmail) {this.Email = newEmail;}
public string getPassword() {return Password;}
public void setPassword(String newPassword) {this.Password = newPassword;}
}