This commit is contained in:
2025-01-19 17:15:58 +03:00
parent 40369fb515
commit b18378bcb1
41 changed files with 1257 additions and 30 deletions

View File

@ -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' => 'Статус',
];
}