diff --git a/app/Models/Contact.php b/app/Models/Contact.php index fbac37117..feece59de 100644 --- a/app/Models/Contact.php +++ b/app/Models/Contact.php @@ -18,6 +18,14 @@ class Contact extends EntityModel implements AuthenticatableContract, CanResetPa */ protected $dates = ['deleted_at']; + /** + * @return mixed + */ + public function getEntityType() + { + return ENTITY_CONTACT; + } + /** * @var array */ diff --git a/app/Models/Invitation.php b/app/Models/Invitation.php index d2d4abb02..a86cc7217 100644 --- a/app/Models/Invitation.php +++ b/app/Models/Invitation.php @@ -15,6 +15,14 @@ class Invitation extends EntityModel */ protected $dates = ['deleted_at']; + /** + * @return mixed + */ + public function getEntityType() + { + return ENTITY_INVITATION; + } + /** * @return mixed */