<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ServiceOrder extends Model
{
    use HasFactory;

    public $fillable = [
        'service_id',
        'address',
        'email',
        'question',
    ];

    public function service()
    {
        return $this->belongsTo(Service::class , 'service_id' , 'id');
    }

}
