Files
lone-services/services/chore/internal/dao/region.go
T
2026-08-28 10:49:09 +08:00

11 lines
354 B
Go

package dao
type Region struct {
Id uint `gorm:"column:id" json:"id"`
ParentId *uint `gorm:"column:parent_id" json:"parent_id"`
Code string `gorm:"column:code" json:"code"`
Name string `gorm:"column:name" json:"name"`
Level uint8 `gorm:"column:level" json:"level"`
CityCode string `gorm:"column:city_code" json:"city_code"`
}