// Code generated by sql2gorm. DO NOT EDIT.
package entity

type RegionInfo struct {
	RegionID    int64  `gorm:"column:region_id;primary_key;AUTO_INCREMENT"`
	SelfCode    int64  `gorm:"column:self_code;NOT NULL"`
	RegionLevel int64  `gorm:"column:region_level;NOT NULL"`
	ParentCode  int64  `gorm:"column:parent_code"`
	RegionName  string `gorm:"column:region_name;NOT NULL"`
}

func (m *RegionInfo) TableName() string {
	return "info_region"
}
