protected MeetupsEntry toUnwrappedModel(MeetupsEntry meetupsEntry) {
if (meetupsEntry instanceof MeetupsEntryImpl) {
return meetupsEntry;
}
MeetupsEntryImpl meetupsEntryImpl = new MeetupsEntryImpl();
meetupsEntryImpl.setNew(meetupsEntry.isNew());
meetupsEntryImpl.setPrimaryKey(meetupsEntry.getPrimaryKey());
meetupsEntryImpl.setMeetupsEntryId(meetupsEntry.getMeetupsEntryId());
meetupsEntryImpl.setCompanyId(meetupsEntry.getCompanyId());
meetupsEntryImpl.setUserId(meetupsEntry.getUserId());
meetupsEntryImpl.setUserName(meetupsEntry.getUserName());
meetupsEntryImpl.setCreateDate(meetupsEntry.getCreateDate());
meetupsEntryImpl.setModifiedDate(meetupsEntry.getModifiedDate());
meetupsEntryImpl.setTitle(meetupsEntry.getTitle());
meetupsEntryImpl.setDescription(meetupsEntry.getDescription());
meetupsEntryImpl.setStartDate(meetupsEntry.getStartDate());
meetupsEntryImpl.setEndDate(meetupsEntry.getEndDate());
meetupsEntryImpl.setTotalAttendees(meetupsEntry.getTotalAttendees());
meetupsEntryImpl.setMaxAttendees(meetupsEntry.getMaxAttendees());
meetupsEntryImpl.setPrice(meetupsEntry.getPrice());
meetupsEntryImpl.setThumbnailId(meetupsEntry.getThumbnailId());
return meetupsEntryImpl;
}