2025-07-10 18:23:56 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
|
|
|
|
|
class AttendanceBreak extends Model
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
protected $fillable = [
|
|
|
|
|
'attendance_id',
|
|
|
|
|
'break_start',
|
|
|
|
|
'break_end',
|
2025-10-11 13:38:30 +00:00
|
|
|
'duration',
|
2025-07-10 18:23:56 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
|
|
public function attendance()
|
|
|
|
|
{
|
|
|
|
|
return $this->belongsTo(Attendance::class);
|
|
|
|
|
}
|
|
|
|
|
}
|