refactor🎨: 添加行政区模型
This commit is contained in:
1 parent
54e116818b
commit
1391366ece
2 files changed
+14
No files matched your search
@@ -0,0 +1,13 @@
|
||||
package models
|
||||
|
||||
type SysChinaAreaData struct {
|
||||
Model
|
||||
PId string `json:"p_id" gorm:"size:11;comment:上级编码"`
|
||||
Name string `json:"name" gorm:"size:128;comment:名称"`
|
||||
ControlBy
|
||||
ModelTime
|
||||
}
|
||||
|
||||
func (SysChinaAreaData) TableName() string {
|
||||
return "sys_china_area_data"
|
||||
}
|
||||
Reference in new issue
Block a user