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

Размер файла: 687B
  1. <?php
  2.  
  3. declare(strict_types=1);
  4.  
  5. namespace App\Models;
  6.  
  7. /**
  8. * Class Mailing
  9. *
  10. * @property int id
  11. * @property int user_id
  12. * @property string type
  13. * @property string subject
  14. * @property string text
  15. * @property int sent
  16. * @property int created_at
  17. * @property int sent_at
  18. */
  19. class Mailing extends BaseModel
  20. {
  21. /**
  22. * The table associated with the model.
  23. *
  24. * @var string
  25. */
  26. protected $table = 'mailings';
  27.  
  28. /**
  29. * Indicates if the model should be timestamped.
  30. *
  31. * @var bool
  32. */
  33. public $timestamps = false;
  34.  
  35. /**
  36. * The attributes that aren't mass assignable.
  37. *
  38. * @var array
  39. */
  40. protected $guarded = [];
  41. }