You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
516 B
21 lines
516 B
3 years ago
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Presence extends Model
|
||
|
{
|
||
|
protected $table = 't_clock_in_out';
|
||
|
|
||
|
const CREATED_AT = 'created_at';
|
||
|
const UPDATED_AT = 'updated_at';
|
||
|
|
||
|
protected $fillable = [
|
||
|
'user_id', 'clock_in', 'clock_out', 'date_presence',
|
||
|
'clock_in_lat', 'clock_in_lng', 'clock_out_lat', 'clock_out_lng',
|
||
|
'clock_in_loc', 'clock_out_loc',
|
||
|
'created_at', 'created_by', 'updated_at', 'updated_by'
|
||
|
];
|
||
|
}
|