Skip to content

Instantly share code, notes, and snippets.

@th0j
Created June 9, 2017 03:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save th0j/8ce2fbe47aadcdadcc388278e77a2187 to your computer and use it in GitHub Desktop.
Save th0j/8ce2fbe47aadcdadcc388278e77a2187 to your computer and use it in GitHub Desktop.
Not use lombok
public class User implements java.io.Serializable{
public String username;
public String email;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment