info_region.go 468 B

1234567891011121314
  1. // Package gorm_model Code generated by sql2gorm. DO NOT EDIT.
  2. package gorm_model
  3. type InfoRegion struct {
  4. RegionID uint `gorm:"column:region_id;primary_key;AUTO_INCREMENT"`
  5. SelfCode uint `gorm:"column:self_code;NOT NULL"`
  6. RegionLevel int `gorm:"column:region_level;NOT NULL"`
  7. ParentCode uint `gorm:"column:parent_code"`
  8. RegionName string `gorm:"column:region_name;NOT NULL"`
  9. }
  10. func (m *InfoRegion) TableName() string {
  11. return "info_region"
  12. }