26 lines
422 B
PHP
26 lines
422 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use App\Enums\OCBType;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Kwaadpepper\Enum\Traits\CastsEnums;
|
|
|
|
class OCBContent extends Model
|
|
{
|
|
use CastsEnums;
|
|
|
|
protected $enumCasts = [
|
|
'type' => OCBType::class
|
|
];
|
|
|
|
protected $table = 'ocb_content';
|
|
|
|
protected $fillable = [
|
|
'picture',
|
|
'content',
|
|
'type',
|
|
'order',
|
|
'status'
|
|
];
|
|
}
|