package models type BoxBase struct { BoxId string `json:"box_id" gorm:"column:box_id"` BoxName string `json:"box_name" gorm:"column:box_name"` BoxVersion string `json:"box_version" gorm:"column:box_version"` BoxOutput string `json:"box_output" gorm:"column:box_output"` } type AreaModel struct { Province string `gorm:"column:province"` City string `gorm:"column:city"` Area string `gorm:"column:area"` District string `gorm:"column:district"` CityId int64 `gorm:"column:city_id"` } type AreaList []*AreaModel type BoxTime struct { BoxId string `gorm:"column:box_id"` Time int64 `gorm:"column:time"` }