Created
May 11, 2015 19:11
-
-
Save dalmat36/a480ccb901a367f6fb2e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package hibernate; | |
| public class User { | |
| private int id; | |
| private String name; | |
| private int total; | |
| private int goal; | |
| public int getId() { | |
| return id; | |
| } | |
| public void setId(int id) { | |
| this.id = id; | |
| } | |
| public String getName() { | |
| return name; | |
| } | |
| public void setName(String name) { | |
| this.name = name; | |
| } | |
| public int getTotal() { | |
| return total; | |
| } | |
| public void setTotal(int total) { | |
| this.total = total; | |
| } | |
| public int getGoal() { | |
| return goal; | |
| } | |
| public void setGoal(int goal) { | |
| this.goal = goal; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment