1000], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'mall_id' => 'Mall ID', 'status' => 'Status', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'goods_id' => 'Goods ID', 'product_id' => 'Product ID', 'cate_ids' => 'Cate Ids', 'content' => 'Content', 'attrs' => 'Attrs', ]; } public function getShop() { return $this->hasOne(WechatVideoShop::class, ['id' => 'shop_id']); } public function getGoods() { return $this->hasOne(Goods::class, ['id' => 'goods_id']); } }