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.

14 lines
321 B

6 months ago
package model
import "shop-api/global"
type SpecValue struct {
global.MG_MODEL
Value string `gorm:"column:value;type:varchar(255);NOT NULL" json:"value"`
SpecId uint `gorm:"column:spec_id;type:bigint(20) unsigned;default:0;NOT NULL" json:"spec_id"`
}
func (SpecValue) TableName() string {
return "spec_value"
}