1 package org.hibernate.test.subclassfilter; 3 4 9 public class Person { 10 private Long id; 11 private String name; 12 private String company; 13 private String region; 14 15 public Person() { 16 } 17 18 public Person(String name) { 19 this.name = name; 20 } 21 22 public Long getId() { 23 return id; 24 } 25 26 public void setId(Long id) { 27 this.id = id; 28 } 29 30 public String getName() { 31 return name; 32 } 33 34 public void setName(String name) { 35 this.name = name; 36 } 37 38 public String getCompany() { 39 return company; 40 } 41 42 public void setCompany(String company) { 43 this.company = company; 44 } 45 46 public String getRegion() { 47 return region; 48 } 49 50 public void setRegion(String region) { 51 this.region = region; 52 } 53 } 54 | Popular Tags |