<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SurveyQuestion extends Model {
    protected $guarded=['id'];protected $casts=['options'=>'array','required'=>'boolean'];
    public function survey(){return $this->belongsTo(Survey::class);}
}
