去掉设备信息中的status字段
This commit is contained in:
@@ -42,9 +42,6 @@ type Device struct {
|
||||
// ParentID 上级设备ID(用于设备层级关系,指向区域主控设备)
|
||||
ParentID *uint `gorm:"column:parent_id;index" json:"parent_id"`
|
||||
|
||||
// Status 设备状态
|
||||
Status string `gorm:"not null;column:status" json:"status"`
|
||||
|
||||
// CreatedAt 创建时间
|
||||
CreatedAt time.Time `gorm:"column:created_at" json:"created_at"`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user