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