added autonumber and getter/setter to JPA model classes

Change-Id: Idb417263c6c9f57acbb765d98457441048806777