|
- <?php
-
- namespace App\Models;
-
- use Illuminate\Database\Eloquent\Factories\HasFactory;
- use Illuminate\Database\Eloquent\Model;
- use Illuminate\Notifications\Notifiable;
-
- class accessLogs extends Model
- {
- use HasFactory, Notifiable;
-
- /**
- * The attributes that are mass assignable.
- *
- * @var array
- */
- protected $fillable = [
- 'access_log_id',
- 'user_id',
- 'mac_address',
- 'last_by',
- ];
-
- /**
- * The attributes that should be cast to native types.
- *
- * @var array
- */
- protected $casts = [
- 'last_update_date' => 'datetime',
- ];
- }
-
-
-
-
-
-
-
-
-
-
-
-
|