Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.79 KB | None | 0 0
  1. public class Patient {
  2.     private String firstName;
  3.     private String lastName;
  4.     private String PESEL;
  5.  
  6.     public String getFirstName() {
  7.         return firstName;
  8.     }
  9.  
  10.     public void setFirstName(String firstName) {
  11.         this.firstName = firstName;
  12.     }
  13.  
  14.     public String getLastName() {
  15.         return lastName;
  16.     }
  17.  
  18.     public void setLastName(String lastName) {
  19.         this.lastName = lastName;
  20.     }
  21.  
  22.     public String getPESEL() {
  23.         return PESEL;
  24.     }
  25.  
  26.     public void setPESEL(String PESEL) {
  27.         this.PESEL = PESEL;
  28.     }
  29.  
  30.     public Patient(String firstName, String lastName, String PESEL) {
  31.         this.firstName = firstName;
  32.         this.lastName = lastName;
  33.         this.PESEL = PESEL;
  34.     }
  35.  
  36.     public Patient(){    }
  37.  
  38.  
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement