<?php

namespace App\Models\Hr\Attend;

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

class Leave extends Model
{
    use HasFactory;
    protected $table = 'emp_leave_apps';
    protected $primaryKey = 'ela_id';
    const CREATED_AT = 'added_on';
    const UPDATED_AT = 'edited_on';

    protected $fillable = [
        'leave_start',
        'leave_end',
        'session_id',
        'org_id',
        'leave_description',
        'file_path',
        'lStatus',
        'added_by',
        'added_on',
        'edited_by',
        'edited_on'
    ];
}
