Files
2025-07-07 20:11:59 +08:00

26 lines
985 B
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操作代码。
// 生成日期2023-11-24 09:57:07
// 生成路径: internal/app/system/model/entity/device.go
// 生成人gfast
// desc:安全帽设备java
// company:云南奇讯科技有限公司
// ==========================================================================
package entity
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"`
DevNum string `orm:"devNum,primary" json:"devNum"` // 设备编号
DevName string `orm:"devName" json:"devName"` // 设备名称
Status int `orm:"status" json:"status"` // 状态
CreateTime *gtime.Time `orm:"createTime" json:"createTime"` // 添加时间
UpdateTime *gtime.Time `orm:"updateTime" json:"updateTime"` // 修改时间
}