예제 #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMiOrders()
 {
     return $this->hasMany(MiOrder::className(), ['delivery_time_id' => 'delivery_time_id']);
 }
예제 #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMiOrders()
 {
     return $this->hasMany(MiOrder::className(), ['payment_channel_id' => 'payment_channel_id']);
 }
예제 #3
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMiOrders()
 {
     return $this->hasMany(MiOrder::className(), ['customer_id' => 'customer_id']);
 }
예제 #4
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getOrder()
 {
     return $this->hasOne(MiOrder::className(), ['order_id' => 'order_id']);
 }