mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 18:12:50 +08:00
feat(timer): 新增多节点定时器协调的 Scheme 定义
This commit is contained in:
@@ -27,6 +27,10 @@ class SystemHost extends BaseScheme
|
||||
#[Component(type: 'switch', options: ['离线', '在线'])]
|
||||
public $status;
|
||||
|
||||
#[Field(type: 'tinyint', length: 4, default: '0', comment: '是否主节点:0=否,1=是')]
|
||||
#[Component(type: 'switch', options: ['否', '是'])]
|
||||
public $is_master;
|
||||
|
||||
#[Field(type: 'datetime', comment: '最后心跳时间')]
|
||||
#[Component(type: 'date', options: [])]
|
||||
public $last_heartbeat_at;
|
||||
|
||||
Reference in New Issue
Block a user