30 lines
1.3 KiB
Go
30 lines
1.3 KiB
Go
|
// ==========================================================================
|
|||
|
// 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
|
|||
|
}
|