Просмотр файла app/Models/Online.php

Размер файла: 828B
  1. <?php
  2.  
  3. declare(strict_types=1);
  4.  
  5. namespace App\Models;
  6.  
  7. /**
  8. * Class Online
  9. *
  10. * @property string ip
  11. * @property string brow
  12. * @property int updated_at
  13. * @property int user_id
  14. */
  15. class Online extends BaseModel
  16. {
  17. /**
  18. * The table associated with the model.
  19. *
  20. * @var string
  21. */
  22. protected $table = 'online';
  23.  
  24. /**
  25. * The primary key for the model.
  26. *
  27. * @var string
  28. */
  29. protected $primaryKey = 'uid';
  30.  
  31. /**
  32. * Indicates if the IDs are auto-incrementing.
  33. *
  34. * @var bool
  35. */
  36. public $incrementing = false;
  37.  
  38. /**
  39. * Indicates if the model should be timestamped.
  40. *
  41. * @var bool
  42. */
  43. public $timestamps = false;
  44.  
  45. /**
  46. * The attributes that aren't mass assignable.
  47. *
  48. * @var array
  49. */
  50. protected $guarded = [];
  51. }