<?php

namespace App\Models;

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

class IncidentMessage extends Model
{
    use HasFactory;

    public $timestamps = false;

    protected $fillable = [
        'incident_id',
        'date',
        'message',
        'status'
    ];

    public function incident(){
        return $this->belongsTo(Incident::class);
    }
}
