Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. import javax.persistence.Entity;
  2. import javax.persistence.GeneratedValue;
  3. import javax.persistence.Id;
  4.  
  5. @Entity
  6. public class Tenant {
  7.  
  8. @Id
  9. @GeneratedValue
  10. private Long id;
  11. private String firstName;
  12. private String lastName;
  13. private String street;
  14. private String plz;
  15. private String city;
  16. private String country;
  17. private String username;
  18. private String password;
  19.  
  20. public Long getId() {
  21. return id;
  22. }
  23. public void setId(Long id) {
  24. this.id = id;
  25. }
  26. public String getFirstName() {
  27. return firstName;
  28. }
  29. public void setFirstName(String firstName) {
  30. this.firstName = firstName;
  31. }
  32. public String getLastName() {
  33. return lastName;
  34. }
  35. public void setLastName(String lastName) {
  36. this.lastName = lastName;
  37. }
  38. public String getStreet() {
  39. return street;
  40. }
  41. public void setStreet(String street) {
  42. this.street = street;
  43. }
  44. public String getPlz() {
  45. return plz;
  46. }
  47. public void setPlz(String plz) {
  48. this.plz = plz;
  49. }
  50. public String getCity() {
  51. return city;
  52. }
  53. public void setCity(String city) {
  54. this.city = city;
  55. }
  56. public String getCountry() {
  57. return country;
  58. }
  59. public void setCountry(String country) {
  60. this.country = country;
  61. }
  62. public String getUsername() {
  63. return username;
  64. }
  65. public void setUsername(String username) {
  66. this.username = username;
  67. }
  68. public String getPassword() {
  69. return password;
  70. }
  71. public void setPassword(String password) {
  72. this.password = password;
  73. }
  74.  
  75.  
  76. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement