TacitQuestionModel.php 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace App\Models\Syj;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Syj\TacitQuestionModel
  6. *
  7. * @property int $id
  8. * @property string $question 问题
  9. * @property array $options 选项
  10. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\TacitQuestionModel newModelQuery()
  11. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\TacitQuestionModel newQuery()
  12. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\TacitQuestionModel query()
  13. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\TacitQuestionModel whereId($value)
  14. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\TacitQuestionModel whereOptions($value)
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Syj\TacitQuestionModel whereQuestion($value)
  16. * @mixin \Eloquent
  17. */
  18. class TacitQuestionModel extends Model
  19. {
  20. //
  21. protected $table = 'syj_game_tacit_questions';
  22. protected $timestamp = false;
  23. protected $fillable = ['question', 'options'];
  24. protected $casts = [
  25. 'options' => 'array',
  26. ];
  27. }