public function getGoodsCount() { return Goods::find()->where(['store_id' => $this->id, 'status' => Goods::STATUS_NORMAL])->count(); }