// 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 TableNameVideoAction = "video_action" // VideoAction mapped from table type VideoAction struct { ID int32 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"` // 视频设备动作表 Actid int64 `gorm:"column:actid" json:"actid,string"` // 动作ID。全局唯一 Mpid int64 `gorm:"column:mpid" json:"mpid,string"` // 测点ID。全局唯一 Acttype int32 `gorm:"column:acttype" json:"acttype"` // 动作分类。录像-1,拍照-2,录像并拍照-3,4-无 Actdesc int32 `gorm:"column:actdesc" json:"actdesc"` // 快照次数 Value int32 `gorm:"column:value" json:"value"` // 录像时长 。单位秒 CreateAt time.Time `gorm:"->" json:"create_at" c:"-"` // 创建时间 UpdateAt time.Time `gorm:"->" json:"update_at" c:"-"` // 更新时间 } // TableName VideoAction's table name func (*VideoAction) TableName() string { return TableNameVideoAction }