Files
zmkgC/internal/app/system/model/ys7devices_img.go

34 lines
1.3 KiB
Go
Raw Normal View History

2025-07-07 20:11:59 +08:00
// ==========================================================================
// GFast自动生成model操作代码。
// 生成日期2024-08-19 11:51:53
// 生成路径: internal/app/system/model/ys7devices_img.go
// 生成人gfast
// desc:摄像头所拍摄到的所有图片(每月会定时清除)
// company:云南奇讯科技有限公司
// ==========================================================================
package model
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// Ys7DevicesImgInfoRes is the golang structure for table ys7devices_img.
type Ys7DevicesImgInfoRes struct {
gmeta.Meta `orm:"table:ys7devices_img"`
Id uint64 `orm:"id,primary" json:"id"` // 主键ID
FatherId uint64 `orm:"father_id" json:"fatherId"` // 父id
Name string `orm:"name" json:"name"` // 摄像头名称
Path string `orm:"path" json:"path"` // 图片路径
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 拍摄时间
}
type Ys7DevicesImgListRes struct {
Id uint64 `json:"id"`
FatherId uint64 `json:"fatherId"`
Name string `json:"name"`
Path string `json:"path"`
CreatedAt *gtime.Time `json:"createdAt"`
}