<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Question extends BaseModel
{
    public function answers()
    {
        return $this->hasMany(Answer::class);
    }

    public function unit()
    {
        return $this->belongsTo(Unit::class);
    }
}
