public function getByEmail(string $email)
    {
        // get by id and active must by true
        /** @noinspection PhpUndefinedMethodInspection */
        return $this->getList()
            ->where([$this->tableName[0] . '.email' => $email, $this->tableName[0] . '.active' => true])
            ->fetch();
    }