Captive Portal - Hotspot Wifi
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.
 
 
 
 

47 rivejä
642 B

  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. use Illuminate\Notifications\Notifiable;
  6. class accessLogs extends Model
  7. {
  8. use HasFactory, Notifiable;
  9. /**
  10. * The attributes that are mass assignable.
  11. *
  12. * @var array
  13. */
  14. protected $fillable = [
  15. 'access_log_id',
  16. 'user_id',
  17. 'mac_address',
  18. 'last_by',
  19. ];
  20. /**
  21. * The attributes that should be cast to native types.
  22. *
  23. * @var array
  24. */
  25. protected $casts = [
  26. 'last_update_date' => 'datetime',
  27. ];
  28. }