Update Model.java

Fixed problems where a non-PK field named "id" is present.