/
home
/
techb158
/
immovalet.com
/
platform
/
plugins
/
testimonial
/
src
/
Models
/
/home/techb158/immovalet.com/platform/plugins/testimonial/src/Models
mkdir
upload
Name
Size
Mode
Actions
Testimonial.php
613
0644
edit
dl
rm
Edit:
/home/techb158/immovalet.com/platform/plugins/testimonial/src/Models/Testimonial.php
(613B)
<?php namespace Botble\Testimonial\Models; use Botble\Base\Enums\BaseStatusEnum; use Botble\Base\Models\BaseModel; use Botble\Base\Traits\EnumCastable; class Testimonial extends BaseModel { use EnumCastable; /** * The database table used by the model. * * @var string */ protected $table = 'testimonials'; /** * @var array */ protected $fillable = [ 'name', 'company', 'content', 'image', 'status', ]; /** * @var array */ protected $casts = [ 'status' => BaseStatusEnum::class, ]; }
Save
cmd:
run