签入脚本
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
{{- if .HasGtime}}
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
{{- end}}
|
||||
)
|
||||
|
||||
// {{.DaoName}} is the golang structure for table {{.Module}}.
|
||||
type {{.DaoName}} struct {
|
||||
{{- range .Fields}}
|
||||
{{.CamelExport}} {{.EntityGoType}} `json:"{{.CamelName}}" orm:"{{.Name}}" description:"{{.Comment}}"` // {{.Comment}}
|
||||
{{- end}}
|
||||
}
|
||||
Reference in New Issue
Block a user