1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace App\Repositories\Models\Exam;
- use App\Repositories\Models\Model;
- use Prettus\Repository\Contracts\Transformable;
- use Prettus\Repository\Traits\TransformableTrait;
- class Topic extends Model implements Transformable
- {
- use TransformableTrait;
- protected $table = 'exam_topics';
-
- protected $guarded = [];
- protected $casts = [
- 'body' => 'array',
- 'result' => 'array',
- ];
- }
|