初始
This commit is contained in:
61
internal/app/system/model/qianqi_camera.go
Normal file
61
internal/app/system/model/qianqi_camera.go
Normal file
@ -0,0 +1,61 @@
|
||||
// ==========================================================================
|
||||
// GFast自动生成model操作代码。
|
||||
// 生成日期:2023-09-30 22:37:34
|
||||
// 生成路径: internal/app/system/model/qianqi_camera.go
|
||||
// 生成人:gfast
|
||||
// desc:摄像头
|
||||
// company:云南奇讯科技有限公司
|
||||
// ==========================================================================
|
||||
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
"github.com/gogf/gf/v2/util/gmeta"
|
||||
)
|
||||
|
||||
// QianqiCameraInfoRes is the golang structure for table qianqi_camera.
|
||||
type QianqiCameraInfoRes struct {
|
||||
gmeta.Meta `orm:"table:qianqi_camera"`
|
||||
Id int64 `orm:"id,primary" json:"id"` //
|
||||
CameraName string `orm:"camera_name" json:"cameraName"` // 摄像头名称
|
||||
CameraCode string `orm:"camera_code" json:"cameraCode"` // 摄像头编码
|
||||
Detail string `orm:"detail" json:"detail"` // 摄像头坐标信息
|
||||
Degree string `orm:"degree" json:"degree"` // 视频融合
|
||||
ProjectId string `orm:"project_id" json:"projectId"` // 项目id
|
||||
Status int64 `orm:"status" json:"status"` // 在线情况(1、在线,0、离线),字典on_line_status
|
||||
Poster string `orm:"poster" json:"poster"` // 封面图
|
||||
CreateBy string `orm:"create_by" json:"createBy"` // 创建人
|
||||
UpdateBy string `orm:"update_by" json:"updateBy"` // 更新人
|
||||
CreateddAt *gtime.Time `orm:"createdd_at" json:"createddAt"` // 创建时间
|
||||
UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 更新时间
|
||||
DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
|
||||
SourceType string `orm:"source_type" json:"sourceType"` //
|
||||
Serial string `orm:"serial" json:"serial"` // 国标id
|
||||
Code string `orm:"code" json:"code"` // 通道号
|
||||
Flv string `orm:"flv" json:"flv"` // flv地址
|
||||
Hls string `orm:"hls" json:"hls"` // hls地址
|
||||
Share string `orm:"share" json:"share"` // 分享地址
|
||||
Rtc string `orm:"rtc" json:"rtc"` // webrtc地址
|
||||
}
|
||||
|
||||
type QianqiCameraListRes struct {
|
||||
Id int64 `json:"id"`
|
||||
CameraName string `json:"cameraName"`
|
||||
CameraCode string `json:"cameraCode"`
|
||||
Detail string `json:"detail"`
|
||||
Degree string `json:"degree"`
|
||||
ProjectId string `json:"projectId"`
|
||||
Status int64 `json:"status"`
|
||||
Poster string `json:"poster"`
|
||||
CreateBy string `json:"createBy"`
|
||||
UpdateBy string `json:"updateBy"`
|
||||
CreateddAt *gtime.Time `json:"createddAt"`
|
||||
SourceType string `json:"source_type"`
|
||||
Serial string `json:"serial"`
|
||||
Code string `json:"code"`
|
||||
Flv string `json:"flv"`
|
||||
Hls string `json:"hls"`
|
||||
Share string `json:"share"`
|
||||
Rtc string `json:"rtc"`
|
||||
}
|
Reference in New Issue
Block a user