<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\HasOne;

class Holiday extends Model
{
    use HasFactory;
     protected $fillable = [       
        'name',
        'org_id',
        'description',
        'start_date',
        'end_date'
    ];
    public function organisation() : BelongsTo {
        return $this->belongsTo(Organisation::class);
    }
}
