1 | <?php |
||
2 | |||
3 | namespace DavideCasiraghi\LaravelColumns\Models; |
||
4 | |||
5 | use Astrotomic\Translatable\Translatable; |
||
6 | use Illuminate\Database\Eloquent\Model; |
||
7 | |||
8 | class ColumnGroup extends Model |
||
9 | { |
||
10 | protected $table = 'column_groups'; |
||
11 | |||
12 | use Translatable; |
||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||
13 | |||
14 | public $translatedAttributes = ['title', 'description', 'button_text', 'image_alt']; |
||
15 | protected $fillable = [ |
||
16 | 'bkg_color', |
||
17 | 'text_alignment', |
||
18 | 'group_title_color', |
||
19 | 'group_title_font_size', |
||
20 | 'column_title_color', |
||
21 | 'column_title_font_size', |
||
22 | 'description_font_size', |
||
23 | 'link_style', |
||
24 | 'button_url', |
||
25 | 'button_color', |
||
26 | 'button_corners', |
||
27 | 'background_type', |
||
28 | 'opacity', |
||
29 | 'background_image', |
||
30 | 'background_image_position', |
||
31 | 'justify_content', |
||
32 | 'flex_wrap', |
||
33 | 'flex_flow', |
||
34 | 'columns_flex', |
||
35 | 'columns_padding', |
||
36 | 'columns_box_sizing', |
||
37 | 'columns_round_images', |
||
38 | 'columns_images_width', |
||
39 | 'columns_images_hide_mobile', |
||
40 | 'icons_size', |
||
41 | ]; |
||
42 | } |
||
43 |