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

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