zhangqian
2023-08-19 aab066ab2d90d235848f67d4aac3b15c8f778b3c
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"`