You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
312 B
13 lines
312 B
package region
|
|
|
|
type Information struct {
|
|
ID uint `gorm:"column:id" json:"-"`
|
|
ParentId uint `gorm:"column:parent_id" json:"-"`
|
|
Name string `gorm:"column:name" json:"name"`
|
|
Depth uint8 `gorm:"column:depth" json:"-"`
|
|
}
|
|
|
|
func (*Information) TableName() string {
|
|
return "recook_region_info"
|
|
}
|