2021-07-17 00:07:24 +08:00
|
|
|
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
namespace App\Model\Talk;
|
|
|
|
|
|
|
|
use App\Model\BaseModel;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class TalkRecordsVoteAnswer
|
|
|
|
*
|
|
|
|
* @property int $id 自增ID
|
|
|
|
* @property int $vote_id 投票ID
|
|
|
|
* @property int $user_id 投票用户
|
|
|
|
* @property string $option 投票选项
|
|
|
|
* @property string $created_at 投票时间
|
|
|
|
* @package App\Model\Chat
|
|
|
|
*/
|
|
|
|
class TalkRecordsVoteAnswer extends BaseModel
|
|
|
|
{
|
|
|
|
protected $table = 'talk_records_vote_answer';
|
|
|
|
|
|
|
|
protected $fillable = [
|
|
|
|
'vote_id',
|
|
|
|
'user_id',
|
|
|
|
'option',
|
|
|
|
'created_at',
|
|
|
|
];
|
|
|
|
|
|
|
|
protected $casts = [
|
|
|
|
'vote_id' => 'integer',
|
|
|
|
'user_id' => 'integer',
|
2022-01-20 21:20:58 +08:00
|
|
|
'created_at' => 'datetime',
|
2021-07-17 00:07:24 +08:00
|
|
|
];
|
|
|
|
}
|