// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model import ( "time" ) const TableNameLinkStrategy = "link_strategy" // LinkStrategy mapped from table type LinkStrategy struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` // 联动策略表 Strategyid int64 `gorm:"column:strategyid" json:"strategyid,string"` // 联动策略ID,全局唯一 Appid int32 `gorm:"column:appid" json:"appid"` // 所属APP id Strategyname string `gorm:"column:strategyname" json:"strategyname"` // 联动策略名称 Linktype int32 `gorm:"column:linktype" json:"linktype"` // 联动类型。1测点联动 2模拟IO量输入事件联动 3数字量IO量输入联动 4 模拟IO量输出事件联动 5 数字量IO量输出联动 6 辅控事件联动 CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 创建时间 UpdateAt time.Time `gorm:"->" json:"update_at" c:"-"` // 更新时间 } // TableName LinkStrategy's table name func (*LinkStrategy) TableName() string { return TableNameLinkStrategy }