Files
zmkgC/internal/app/system/model/entity/ys7devices.go
2025-07-07 20:11:59 +08:00

30 lines
1.3 KiB
Go
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// ==========================================================================
// 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
}