<?php
namespace QxCMS\Modules\Client\Models\Participants;
use Illuminate\Database\Eloquent\Model;
use Collective\Html\Eloquent\FormAccessible;
use \Carbon\Carbon;
class Answer extends Model
{
use FormAccessible;
protected $connection = 'client';
protected $table = 'participants_answers';
/* public $module_id = 6;*/
/*
* The attributes that are mass assignable.
*
* @var array
*/
protected $guarded = [];
protected $appends = ['hashid'];
public function getHashidAttribute()
{
return hashid($this->id);
}
}