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