['name'], ]; } public function lists(): array { return VipLevel::where($this->searchWhere) ->order(['sort' => 'desc', 'id' => 'desc']) ->limit($this->limitOffset, $this->limitLength) ->select() ->toArray(); } public function count(): int { return VipLevel::where($this->searchWhere)->count(); } }