Upstream sync

This commit is contained in:
Senad Uka
2023-09-27 08:04:50 +02:00
parent 7320fcb527
commit 937c61c635
15 changed files with 517 additions and 85 deletions

View 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
}