<?php
namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;
use Laravel\Sanctum\HasApiTokens;
use Illuminate\Database\Eloquent\SoftDeletes;
class Attendance  extends Model

{
    use HasApiTokens, HasFactory, Notifiable;

    /**
     * The attributes that are mass assignable.
     *
     * @var array<int, string>
     */
    use HasFactory;
    use SoftDeletes;
   
    protected $fillable = [
        'employee_id', 'attendance_date', 'check_in', 'check_out', 'working_hours', 'overtime_hours', 'late_minutes', 'status', 'remarks', 
    ];

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