Files
zmkgC/internal/app/system/model/entity/ys7devices.go

30 lines
1.3 KiB
Go
Raw Permalink Normal View History

2025-07-07 20:11:59 +08:00
// ==========================================================================
// GFast自动生成model entity操作代码。
// 生成日期2024-03-01 12:49:32
// 生成路径: internal/app/system/model/entity/ys7devices.go
// 生成人gfast
// desc:荧石摄像头
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// Ys7Devices is the golang structure for table ys7devices.
type Ys7Devices struct {
gmeta.Meta `orm:"table:ys7devices"`
Id uint `orm:"id,primary" json:"id"` // id
CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` //
DeviceSerial string `orm:"DeviceSerial" json:"deviceSerial"` // 设备串号
DeviceName string `orm:"DeviceName" json:"deviceName"` // 设备名称
DeviceType string `orm:"DeviceType" json:"deviceType"` // 设备类型
Status int `orm:"Status" json:"status"` // 状态
Defence int64 `orm:"Defence" json:"defence"` //
DeviceVersion string `orm:"DeviceVersion" json:"deviceVersion"` // 设备版本
ProjectId string `orm:"ProjectId" json:"projectId"` // 项目ID
}