1 package org.hibernate.test.idclass; 3 4 5 public class Customer { 6 7 public Customer() { 8 super(); 9 } 10 11 public Customer(String orgName, String custName, String add) { 12 this.orgName = orgName; 13 this.customerName = custName; 14 this.address = add; 15 } 16 17 private String orgName; 18 private String customerName; 19 private String address; 20 21 public String getAddress() { 22 return address; 23 } 24 25 public void setAddress(String address) { 26 this.address = address; 27 } 28 29 public String getCustomerName() { 30 return customerName; 31 } 32 33 public void setCustomerName(String customerName) { 34 this.customerName = customerName; 35 } 36 37 public String getOrgName() { 38 return orgName; 39 } 40 41 public void setOrgName(String orgName) { 42 this.orgName = orgName; 43 } 44 45 } 46 | Popular Tags |