Upstream sync
This commit is contained in:
20
models/product_template.go
Normal file
20
models/product_template.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package models
|
||||
|
||||
import "github.com/jinzhu/gorm"
|
||||
|
||||
type ProductTemplate struct {
|
||||
gorm.Model
|
||||
Name string
|
||||
ProductTemplateConfig map[string]interface{} `json:",omitempty" sql:"-"`
|
||||
Config JSON `json:"-" gorm:"embedded"`
|
||||
}
|
||||
|
||||
func (ProductTemplate) Update() (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
func (ProductTemplate) Create() (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
func (ProductTemplate) Delete() (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
Reference in New Issue
Block a user