feat: weakup tweet

This commit is contained in:
2026-03-16 16:17:44 +08:00
parent 8d30a0419d
commit 81a22a2b54
6 changed files with 42 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ class Terminal extends Model
'diagram_url',
'scada_data_url',
'scada_tags_url',
'voice_wakeup_enabled',
'voice_wakeup_word',
'is_online',
'last_online_at',
];
@@ -38,6 +40,7 @@ class Terminal extends Model
protected function casts(): array
{
return [
'voice_wakeup_enabled' => 'boolean',
'is_online' => 'boolean',
'last_online_at' => 'datetime',
];