You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
284 B

package entity
type Keyword struct {
Id uint `gorm:"column:id;primaryKey;autoIncrement"`
Region string `gorm:"column:region;type:varchar(255);not null"`
Word string `gorm:"column:word;type:varchar(255);not null"`
}
func (Keyword) TableName() string {
return "Keyword"
}