// 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 TableNameLinkRelationObj = "link_relation_obj" // LinkRelationObj mapped from table type LinkRelationObj struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` // 联动目标关联表 Strategyid int64 `gorm:"column:strategyid" json:"strategyid,string"` // 联动策略ID Linkfromid int64 `gorm:"column:linkfromid" json:"linkfromid,string"` // 联动来源ID Value string `gorm:"column:value" json:"value"` // 来源ID对应的联动触发取值(对应测点联动类型) Than int32 `gorm:"column:than" json:"than"` // 1-大于 2-等于 3-小于 4-大于等于 5-小于等于 Relation int32 `gorm:"column:relation" json:"relation"` // 1-与 2-或 3-差 4-无 CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 创建时间 UpdateAt time.Time `gorm:"->" json:"update_at" c:"-"` // 更新时间 } // TableName LinkRelationObj's table name func (*LinkRelationObj) TableName() string { return TableNameLinkRelationObj }