<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class LeaveType extends Model
{

    protected $fillable = [
        'superadmin_id',
        'company_id',
        'leave_code',
        'leave_name',
        'leave_type',
        'include_weekly_off',
        'include_holiday',
        'is_paid_leave',
        'is_carry_forward',
    ];

    protected $casts = [
        'include_weekly_off' => 'boolean',
        'include_holiday' => 'boolean',
        'is_paid_leave' => 'boolean',
        'is_carry_forward' => 'boolean',
    ];
}
