21 lines
650 B
Smarty
21 lines
650 B
Smarty
// =================================================================================
|
|
// 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}}
|
|
}
|