24 lines
803 B
Go
24 lines
803 B
Go
// =================================================================================
|
||
// 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"
|
||
)
|
||
|
||
// Authors is the golang structure of table authors for DAO operations like Where/Data.
|
||
type Authors struct {
|
||
g.Meta `orm:"table:authors, do:true"`
|
||
Id interface{} // 作者ID
|
||
UserId interface{} // 用户ID
|
||
PenName interface{} // 笔名
|
||
Bio interface{} // 作者简介
|
||
Status interface{} // 状态:1=正常,2=禁用
|
||
CreatedAt *gtime.Time // 创建时间
|
||
UpdatedAt *gtime.Time // 更新时间
|
||
DeletedAt *gtime.Time // 软删除时间戳
|
||
}
|