123456789101112131415161718192021222324252627282930313233 |
- // 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 TableNameVideoDevinfo = "video_devinfo"
- // VideoDevinfo mapped from table <video_devinfo>
- type VideoDevinfo struct {
- ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` // 视频设备信息表
- Deviceid int32 `gorm:"column:deviceid" json:"deviceid"` // 设备ID。视频采集框架返回
- Devicename string `gorm:"column:devicename" json:"devicename"` // 设备名称
- Devicecode int32 `gorm:"column:devicecode" json:"devicecode"` // 设备编码。nvr/ipc, 表示是网络摄像机或者是网络摄像头
- Stationid int32 `gorm:"column:stationid" json:"stationid"` // 所属变电站ID
- Appid int32 `gorm:"column:appid" json:"appid"` // 所属APP ID
- IP string `gorm:"column:ip" json:"ip"` // IP地址
- Manufacturer string `gorm:"column:manufacturer" json:"manufacturer"` // 厂商名称
- Model string `gorm:"column:model" json:"model"` // 型号
- Rtspurl string `gorm:"column:rtspurl" json:"rtspurl"` // 视频流地址
- Online int32 `gorm:"column:online" json:"online"` // 设备在线状态 1离线 /2 在线
- CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 创建时间
- UpdateAt time.Time `gorm:"->" json:"update_at" c:"-"` // 更新时间
- }
- // TableName VideoDevinfo's table name
- func (*VideoDevinfo) TableName() string {
- return TableNameVideoDevinfo
- }
|