protected LFPackageVote toUnwrappedModel(LFPackageVote lfPackageVote) {
if (lfPackageVote instanceof LFPackageVoteImpl) {
return lfPackageVote;
}
LFPackageVoteImpl lfPackageVoteImpl = new LFPackageVoteImpl();
lfPackageVoteImpl.setNew(lfPackageVote.isNew());
lfPackageVoteImpl.setPrimaryKey(lfPackageVote.getPrimaryKey());
lfPackageVoteImpl.setId(lfPackageVote.getId());
lfPackageVoteImpl.setUserID(lfPackageVote.getUserID());
lfPackageVoteImpl.setSocialPackageID(lfPackageVote.getSocialPackageID());
lfPackageVoteImpl.setVoteValue(lfPackageVote.getVoteValue());
return lfPackageVoteImpl;
}