feat✨ :添加行政区域基础数据
This commit is contained in:
1 parent
19e96a01de
commit
b8ec705e0a
24 files changed
+530
-54
No files matched your search
@@ -7,7 +7,7 @@ import (
|
||||
)
|
||||
|
||||
type {{.ClassName}} struct {
|
||||
gorm.Model
|
||||
models.Model
|
||||
models.ControlBy
|
||||
{{ range .Columns -}}
|
||||
{{$x := .Pk}}
|
||||
@@ -34,4 +34,4 @@ func (e *{{.ClassName}}) Generate() models.ActiveRecord {
|
||||
|
||||
func (e *{{.ClassName}}) GetId() interface{} {
|
||||
return e.{{.PkGoField}}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user