Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| AttendanceDetail | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| biometricData | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
|||
| <?php | |
| namespace App\Models\Dashboard; | |
| use App\Models\BiometricData\BiometricData; | |
| use Illuminate\Database\Eloquent\Model; | |
| use App\Events\AttendanceDetailCreatedOrUpdated; | |
| use OwenIt\Auditing\Contracts\Auditable; | |
| use Illuminate\Notifications\Notifiable; | |
| class AttendanceDetail extends Model implements Auditable | |
| { | |
| use \OwenIt\Auditing\Auditable; | |
| protected $fillable = ['mode','attendance_setting','check_in','check_in_location','check_in_location_address','check_out','check_out_location','check_out_location_address','user_id','shift_start','shift_end']; | |
| protected $dispatchesEvents = [ | |
| 'created' => AttendanceDetailCreatedOrUpdated::class, | |
| 'updated' => AttendanceDetailCreatedOrUpdated::class, | |
| ]; | |
| public function biometricData() | |
| { | |
| return $this->hasOne(BiometricData::class); | |
| } | |
| } |