1 package org.springframework.samples.petclinic; 2 3 /** 4 * Simple JavaBean domain object representing an person. 5 * 6 * @author Ken Krebs 7 */ 8 public class Person extends BaseEntity { 9 10 private String firstName; 11 12 private String lastName; 13 14 public String getFirstName() { 15 return this.firstName; 16 } 17 18 public void setFirstName(String firstName) { 19 this.firstName = firstName; 20 } 21 22 public String getLastName() { 23 return this.lastName; 24 } 25 26 public void setLastName(String lastName) { 27 this.lastName = lastName; 28 } 29 30 31 32 }