public function setRoles()
    {
        $this->roles = [];
        if (null !== $records = $this->select()) {
            foreach ($records as $record) {
                $this->roles[(int) $record['id']] = $record['role'];
            }
        }
    }