upstream sync
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
package models
|
||||
|
||||
import "github.com/jinzhu/gorm"
|
||||
import (
|
||||
"github.com/jinzhu/gorm"
|
||||
)
|
||||
|
||||
type ProductTemplate struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
ProductTemplateConfig map[string]interface{} `json:",omitempty" sql:"-"`
|
||||
Config JSON `json:"-" gorm:"embedded"`
|
||||
Config string `json:"raw_config" gorm:"type:json"`
|
||||
}
|
||||
|
||||
func (ProductTemplate) Update() (bool, error) {
|
||||
|
||||
Reference in New Issue
Block a user