/** * @return \yii\db\ActiveQuery */ public function getShippings() { return $this->hasMany(Shippings::className(), ['ShippingStatusId' => 'ShippingStatusId']); }
/** * @return \yii\db\ActiveQuery */ public function getShippings() { return $this->hasMany(Shippings::className(), ['OrderId' => 'OrderId']); }