Advertisement
Guest User

Untitled

a guest
Nov 12th, 2019
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package ws.restful;
  7.  
  8. import java.io.Serializable;
  9. import java.util.Date;
  10.  
  11. /**
  12. *
  13. * @author mingxuan
  14. */
  15. public class PojoPatient1 implements Serializable {
  16.  
  17. private String username;
  18. private String password;
  19. private String name;
  20. private String gender;
  21. private Date dob;
  22. private String email;
  23. private String contactNum;
  24. private String addressLine1;
  25. private String addressLine2;
  26. private String pastMedicalHistory;
  27. private String preExistingConditions;
  28.  
  29. public PojoPatient1() {
  30. }
  31.  
  32. public PojoPatient1(String username, String password, String name, String email, String gender, String contactNum, Date dob, String addressLine1, String addressLine2, String pastMedicalHistory, String preExistingConditions) {
  33. this.username = username;
  34. this.password = password;
  35. this.name = name;
  36. this.gender = gender;
  37. this.dob = dob;
  38. this.email = email;
  39. this.contactNum = contactNum;
  40. this.addressLine1 = addressLine1;
  41. this.addressLine2 = addressLine2;
  42. this.pastMedicalHistory = pastMedicalHistory;
  43. this.preExistingConditions = preExistingConditions;
  44. }
  45.  
  46. public String getUsername() {
  47. return username;
  48. }
  49.  
  50. public void setUsername(String username) {
  51. this.username = username;
  52. }
  53.  
  54. public String getPassword() {
  55. return password;
  56. }
  57.  
  58. public void setPassword(String password) {
  59. this.password = password;
  60. }
  61.  
  62. public String getName() {
  63. return name;
  64. }
  65.  
  66. public void setName(String name) {
  67. this.name = name;
  68. }
  69.  
  70. public String getGender() {
  71. return gender;
  72. }
  73.  
  74. public void setGender(String gender) {
  75. this.gender = gender;
  76. }
  77.  
  78. public Date getDob() {
  79. return dob;
  80. }
  81.  
  82. public void setDob(Date dob) {
  83. this.dob = dob;
  84. }
  85.  
  86. public String getEmail() {
  87. return email;
  88. }
  89.  
  90. public void setEmail(String email) {
  91. this.email = email;
  92. }
  93.  
  94. public String getContactNum() {
  95. return contactNum;
  96. }
  97.  
  98. public void setContactNum(String contactNum) {
  99. this.contactNum = contactNum;
  100. }
  101.  
  102. public String getAddressLine1() {
  103. return addressLine1;
  104. }
  105.  
  106. public void setAddressLine1(String addressLine1) {
  107. this.addressLine1 = addressLine1;
  108. }
  109.  
  110. public String getAddressLine2() {
  111. return addressLine2;
  112. }
  113.  
  114. public void setAddressLine2(String addressLine2) {
  115. this.addressLine2 = addressLine2;
  116. }
  117.  
  118. public String getPastMedicalHistory() {
  119. return pastMedicalHistory;
  120. }
  121.  
  122. public void setPastMedicalHistory(String pastMedicalHistory) {
  123. this.pastMedicalHistory = pastMedicalHistory;
  124. }
  125.  
  126. public String getPreExistingConditions() {
  127. return preExistingConditions;
  128. }
  129.  
  130. public void setPreExistingConditions(String preExistingConditions) {
  131. this.preExistingConditions = preExistingConditions;
  132. }
  133.  
  134. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement