数据 输入输出 处理
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
749 B

package AlarmCombination
import (
"time"
)
type CombinationInfo struct {
Id int `json:"id" db:"id"`
Name string `json:"name" db:"name"`
Description string `json:"description" db:"description"`
ConfigStr string `json:"config" db:"config"`
ConfigItems []ConfigItems `json:"ConfigItems" `
Enable bool `json:"enable" db:"enable"`
StructId int `json:"struct_id" db:"struct_id"`
StructName string `json:"struct_name" db:"struct_name"`
OrgId int `json:"org_id" db:"org_id"`
UpdateTime time.Time `json:"update_time" db:"update_time"`
}
type ConfigItems struct {
FactorId int `json:"factorId"`
StationIds []int `json:"stationIds"`
}