davide-casiraghi /
laravel-jumbotron-images
| 1 | <?php |
||
| 2 | |||
| 3 | namespace DavideCasiraghi\LaravelJumbotronImages\Models; |
||
| 4 | |||
| 5 | use Astrotomic\Translatable\Translatable; |
||
| 6 | use Illuminate\Database\Eloquent\Model; |
||
| 7 | |||
| 8 | class JumbotronImage extends Model |
||
| 9 | { |
||
| 10 | protected $table = 'jumbotron_images'; |
||
| 11 | |||
| 12 | use Translatable; |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 13 | |||
| 14 | public $translatedAttributes = ['title', 'body', 'button_text']; |
||
| 15 | protected $fillable = [ |
||
| 16 | 'image_file_name', |
||
| 17 | 'button_url', |
||
| 18 | 'jumbotron_height', |
||
| 19 | 'cover_opacity', |
||
| 20 | 'scroll_down_arrow', |
||
| 21 | ]; |
||
| 22 | } |
||
| 23 |