CycLogModel.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace App\Models\Game;
  3. use Illuminate\Database\Eloquent\Model;
  4. /**
  5. * App\Models\Game\CycLogModel
  6. *
  7. * @property int $id
  8. * @property int $uid
  9. * @property string $openid
  10. * @property int $question_id
  11. * @property string $answer_option 回答选项
  12. * @property string $answer_content 答案内容
  13. * @property \Illuminate\Support\Carbon $created_at
  14. * @property \Illuminate\Support\Carbon $updated_at
  15. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel newModelQuery()
  16. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel newQuery()
  17. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel query()
  18. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel whereAnswerContent($value)
  19. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel whereAnswerOption($value)
  20. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel whereCreatedAt($value)
  21. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel whereId($value)
  22. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel whereOpenid($value)
  23. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel whereQuestionId($value)
  24. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel whereUid($value)
  25. * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycLogModel whereUpdatedAt($value)
  26. * @mixin \Eloquent
  27. */
  28. class CycLogModel extends Model
  29. {
  30. //
  31. protected $table = 'game_cyc_logs';
  32. protected $dateFormat = 'U';
  33. protected $fillable = ['question_id', 'answer_option', 'answer_content', 'openid', 'uid'];
  34. }