/** * @return \yii\db\ActiveQuery */ public function getBill() { return $this->hasOne(Bill::className(), ['id' => 'bill_id']); }