Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
- package ws.restful;
- import java.io.Serializable;
- import java.util.Date;
- /**
- *
- * @author mingxuan
- */
- public class PojoPatient1 implements Serializable {
- private String username;
- private String password;
- private String name;
- private String gender;
- private Date dob;
- private String email;
- private String contactNum;
- private String addressLine1;
- private String addressLine2;
- private String pastMedicalHistory;
- private String preExistingConditions;
- public PojoPatient1() {
- }
- public PojoPatient1(String username, String password, String name, String email, String gender, String contactNum, Date dob, String addressLine1, String addressLine2, String pastMedicalHistory, String preExistingConditions) {
- this.username = username;
- this.password = password;
- this.name = name;
- this.gender = gender;
- this.dob = dob;
- this.email = email;
- this.contactNum = contactNum;
- this.addressLine1 = addressLine1;
- this.addressLine2 = addressLine2;
- this.pastMedicalHistory = pastMedicalHistory;
- this.preExistingConditions = preExistingConditions;
- }
- public String getUsername() {
- return username;
- }
- public void setUsername(String username) {
- this.username = username;
- }
- public String getPassword() {
- return password;
- }
- public void setPassword(String password) {
- this.password = password;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public String getGender() {
- return gender;
- }
- public void setGender(String gender) {
- this.gender = gender;
- }
- public Date getDob() {
- return dob;
- }
- public void setDob(Date dob) {
- this.dob = dob;
- }
- public String getEmail() {
- return email;
- }
- public void setEmail(String email) {
- this.email = email;
- }
- public String getContactNum() {
- return contactNum;
- }
- public void setContactNum(String contactNum) {
- this.contactNum = contactNum;
- }
- public String getAddressLine1() {
- return addressLine1;
- }
- public void setAddressLine1(String addressLine1) {
- this.addressLine1 = addressLine1;
- }
- public String getAddressLine2() {
- return addressLine2;
- }
- public void setAddressLine2(String addressLine2) {
- this.addressLine2 = addressLine2;
- }
- public String getPastMedicalHistory() {
- return pastMedicalHistory;
- }
- public void setPastMedicalHistory(String pastMedicalHistory) {
- this.pastMedicalHistory = pastMedicalHistory;
- }
- public String getPreExistingConditions() {
- return preExistingConditions;
- }
- public void setPreExistingConditions(String preExistingConditions) {
- this.preExistingConditions = preExistingConditions;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement