<?php

namespace App\Models;

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

class ScheduledMessage extends Model
{
    use HasFactory;

    public $timestamps = false;

    protected $fillable = [
        'scheduled_maintenance_id',
        'message',
        'date'
    ];

    public function scheduled_maintenance(){
        return $this->belongsTo(ScheduledMaintenance::class);
    }
}
