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