zhangqian
2023-08-22 b483b294741920e90815c2d1f4c6827d9921310c
model/device_plc.go
@@ -12,7 +12,7 @@
   // DevicePlc 设备的PLC配置
   DevicePlc struct {
      gorm.Model `json:"-"`
      Id         int    `gorm:"primarykey;type:int;"`
      Id         int    `gorm:"primarykey;type:int;" json:"id"`
      Brand      string `gorm:"type:varchar(191);comment:PLC品牌" json:"brand"`
      Method     string `gorm:"type:varchar(191);comment:接口方式" json:"method"`
      PortName   string `gorm:"type:varchar(191);comment:端口名称" json:"portName"`