Beispiel #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMip()
 {
     return $this->hasOne(Mip::className(), ['id' => 'mip_id']);
 }
Beispiel #2
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getMips()
 {
     return $this->hasMany(Mip::className(), ['user_id' => 'id']);
 }