2
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class CarouselItem extends Model
|
||||
{
|
||||
protected $table = 'carousel_items';
|
||||
|
||||
protected $fillable = [
|
||||
'titulo',
|
||||
'subtitulo',
|
||||
'boton_texto',
|
||||
'boton_enlace',
|
||||
'imagen',
|
||||
'orden',
|
||||
'activo',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'activo' => 'boolean',
|
||||
'orden' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user