if (!filter_var($this->id, FILTER_VALIDATE_INT) && !$this->RegistrationDate instanceof DateTime) {
            $this->RegistrationDate = new DateTime;
        }