初始化项目框架,完成部分接口开发
This commit is contained in:
23
internal/model/do/authors.go
Normal file
23
internal/model/do/authors.go
Normal file
@ -0,0 +1,23 @@
|
||||
// =================================================================================
|
||||
// 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 // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user