protected LFSocialPackage toUnwrappedModel(LFSocialPackage lfSocialPackage) {
if (lfSocialPackage instanceof LFSocialPackageImpl) {
return lfSocialPackage;
}
LFSocialPackageImpl lfSocialPackageImpl = new LFSocialPackageImpl();
lfSocialPackageImpl.setNew(lfSocialPackage.isNew());
lfSocialPackageImpl.setPrimaryKey(lfSocialPackage.getPrimaryKey());
lfSocialPackageImpl.setId(lfSocialPackage.getId());
lfSocialPackageImpl.setPackageID(lfSocialPackage.getPackageID());
lfSocialPackageImpl.setAboutPackage(lfSocialPackage.getAboutPackage());
lfSocialPackageImpl.setPublishDate(lfSocialPackage.getPublishDate());
lfSocialPackageImpl.setAuthorID(lfSocialPackage.getAuthorID());
return lfSocialPackageImpl;
}