add entryType to Entry.php