<?php

namespace App\Models\Game;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Models\Game\CycAnserModel
 *
 * @property int $id
 * @property int $question_id 问题ID
 * @property string $keyword 关键词
 * @property string $content 答案内容
 * @property \Illuminate\Support\Carbon $created_at
 * @property \Illuminate\Support\Carbon $updated_at
 * @property int $deleted_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel query()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel whereKeyword($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel whereQuestionId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\Game\CycAnserModel whereUpdatedAt($value)
 * @mixin \Eloquent
 */
class CycAnserModel extends Model
{

    //
    protected $table = 'game_cyc_answers';

    protected $dateFormat = 'U';

    protected $fillable = ['question_id', 'keyword', 'content'];


    protected $casts = [
        'questions' => 'array',
        'answers' => 'array'
    ];
}
