mirror of
https://github.com/m5stack/StackChan.git
synced 2026-04-27 19:12:40 +00:00
server code
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// DevicePost is the golang structure of table device_post for DAO operations like Where/Data.
|
||||
type DevicePost struct {
|
||||
g.Meta `orm:"table:device_post, do:true"`
|
||||
Id any //
|
||||
Mac any // 发帖设备MAC
|
||||
ContentText any // 文本内容
|
||||
ContentImage any // 图片URL
|
||||
CreatedAt *gtime.Time // 发帖时间
|
||||
}
|
||||
Reference in New Issue
Block a user