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

27 lines
1.0 KiB
Go
Raw 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操作代码。
// 生成日期2023-11-24 09:57:07
// 生成路径: internal/app/system/model/entity/device.go
// 生成人gfast
// desc:安全帽设备java
// company:云南奇讯科技有限公司
// ==========================================================================
package do
import (
"github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/v2/util/gmeta"
)
// Device is the golang structure for table device.
type Device struct {
gmeta.Meta `orm:"table:device, do:true"`
DevNum interface{} `orm:"devNum,primary" json:"devNum"` // 设备编号
DevName interface{} `orm:"devName" json:"devName"` // 设备名称
Status interface{} `orm:"status" json:"status"` // 状态
ProjectId interface{} `orm:"project_id" json:"projectId"` // 项目id
CreateTime *gtime.Time `orm:"createTime" json:"createTime"` // 添加时间
UpdateTime *gtime.Time `orm:"updateTime" json:"updateTime"` // 修改时间
}