1 package org.springframework.samples.petclinic; 2 3 8 public class Person extends Entity { 9 10 private String firstName; 11 12 private String lastName; 13 14 private String address; 15 16 private String city; 17 18 private String telephone; 19 20 public String getFirstName() { 21 return this.firstName; 22 } 23 24 public void setFirstName(String firstName) { 25 this.firstName = firstName; 26 } 27 28 public String getLastName() { 29 return this.lastName; 30 } 31 32 public void setLastName(String lastName) { 33 this.lastName = lastName; 34 } 35 36 public String getAddress() { 37 return this.address; 38 } 39 40 public void setAddress(String address) { 41 this.address = address; 42 } 43 44 public String getCity() { 45 return this.city; 46 } 47 48 public void setCity(String city) { 49 this.city = city; 50 } 51 52 public String getTelephone() { 53 return this.telephone; 54 } 55 56 public void setTelephone(String telephone) { 57 this.telephone = telephone; 58 } 59 60 } 61 | Popular Tags |