Update Base.php

Added variable "this" as a reference to current entity instance