type TopTopic struct {
ID int `json:"id"`
Name string `json:"name" gorm:"column:label"`
Value int `json:"-" gorm:"column:value"`
Topic []Topic `json:"topic" gorm:"foreignKey:PID;references:Value;"`
}
type Topic struct {
ID int `json:"id" gorm:"column:id"`
Name string `json:"name" gorm:"column:name"`
PID int `json:"-" gorm:"column:pid"`
Number int `json:"number" gorm:"column:number"`
}