31 lines
662 B
PHP
31 lines
662 B
PHP
<?php
|
|
|
|
namespace Modules\Attendance\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Modules\Attendance\Database\factories\AttendanceFactory;
|
|
|
|
class Attendance extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'tbl_attendances';
|
|
protected $primaryKey = 'attendance_id';
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*/
|
|
protected $fillable = [
|
|
'clock_in_time',
|
|
'clock_out_time',
|
|
'work_from_type',
|
|
'date',
|
|
'status',
|
|
'total_hours',
|
|
'description',
|
|
'remarks',
|
|
'createdBy',
|
|
'updatedBy',
|
|
];
|
|
}
|