public function getImages() { return $this->hasMany(GoodsImg::className(), ['goods_id' => 'goods_id']); }