1000], ]; } /** * {@inheritdoc} */ public function attributeLabels() { return [ 'id' => 'ID', 'mall_id' => 'Mall ID', 'status' => 'Status', 'created_at' => 'Created At', 'updated_at' => 'Updated At', 'audit_id' => 'Audit ID', 'audit_status' => 'Audit Status', 'audit_reason' => 'Audit Reason', 'cat_one' => 'Cat One', 'cat_two' => 'Cat Two', 'cat_three' => 'Cat Three', 'req' => 'Req', ]; } /** * @return \yii\db\ActiveQuery */ public function getCatOne() { return $this->hasOne(WechatVideoShopCate::class, ['id' => 'cat_one']); } /** * @return \yii\db\ActiveQuery */ public function getCatTwo() { return $this->hasOne(WechatVideoShopCate::class, ['id' => 'cat_two']); } /** * @return \yii\db\ActiveQuery */ public function getCatThree() { return $this->hasOne(WechatVideoShopCate::class, ['id' => 'cat_three']); } public function getShop() { return $this->hasOne(WechatVideoShop::class, ['id' => 'shop_id']); } }