feat: 自动化控制模块
This commit is contained in:
parent
1cbedc72cb
commit
bbd21b217b
@ -17,7 +17,7 @@ const (
|
||||
type Device struct {
|
||||
ID int64 `json:"id" gorm:"primaryKey;comment:Unique ID;"` // Unique ID
|
||||
TenantID string `json:"tenant_id" gorm:"size:32;"` // Tenant ID
|
||||
DeviceNo string `json:"device_no" gorm:"size:32;uniqueIndex;comment:设备编号;"` // 设备编号
|
||||
DeviceNo string `json:"device_no" gorm:"size:32;comment:设备编号;"` // 设备编号
|
||||
Name string `json:"name" gorm:"size:64;comment:设备名称;"` // 设备名称
|
||||
Type int `json:"type" gorm:"comment:设备类型(1增氧机、2投喂机、3水循环);"` // 设备类型(1增氧机、2投喂机、3水循环)
|
||||
Status bool `json:"status" gorm:"comment:设备状态(true=在线,false=离线);"` // 设备状态(true=在线,false=离线)
|
||||
|
Loading…
x
Reference in New Issue
Block a user