签入版本
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"
|
||||
{{- if .HasGtime}}
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
{{- end}}
|
||||
)
|
||||
|
||||
// {{.DaoName}} is the golang structure of table {{.TableNameFull}} for DAO operations like Where/Data.
|
||||
type {{.DaoName}} struct {
|
||||
g.Meta `orm:"table:{{.TableNameFull}}, do:true"`
|
||||
{{- range .Fields}}
|
||||
{{.CamelExport}} {{if .IsGtime}}*gtime.Time{{else}}any{{end}} // {{.Comment}}
|
||||
{{- end}}
|
||||
}
|
||||
Reference in New Issue
Block a user