cards
This commit is contained in:
@ -7,6 +7,7 @@ use Illuminate\Database\Eloquent\Model;
|
||||
/**
|
||||
* @property string $path
|
||||
* @property string $title
|
||||
* @property string $settings
|
||||
* @property int $status
|
||||
*/
|
||||
class CardTemplate extends Model
|
||||
@ -17,7 +18,7 @@ class CardTemplate extends Model
|
||||
|
||||
protected $table = 'card_template';
|
||||
|
||||
protected $fillable = ['path', 'title', 'status'];
|
||||
protected $fillable = ['path', 'title', 'status', 'settings'];
|
||||
|
||||
public static function labels(): array
|
||||
{
|
||||
@ -32,6 +33,7 @@ class CardTemplate extends Model
|
||||
return [
|
||||
'path' => 'Шаблон',
|
||||
'title' => 'Название',
|
||||
'settings' => 'Настройки',
|
||||
'status' => 'Статус',
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user