_init(VisitHistoryEntryModel::class, VisitHistoryEntryResource::class); $this->_setIdFieldName($this->getResource()->getIdFieldName()); } }