Files
old-backend/models/product_template.go

23 lines
493 B
Go
Raw Normal View History

2023-09-27 08:04:50 +02:00
package models
2023-10-02 12:59:19 +02:00
import (
"github.com/jinzhu/gorm"
)
2023-09-27 08:04:50 +02:00
type ProductTemplate struct {
gorm.Model
Name string
ProductTemplateConfig map[string]interface{} `json:",omitempty" sql:"-"`
2023-10-02 12:59:19 +02:00
Config string `json:"raw_config" gorm:"type:json"`
2023-09-27 08:04:50 +02:00
}
func (ProductTemplate) Update() (bool, error) {
return false, nil
}
func (ProductTemplate) Create() (bool, error) {
return false, nil
}
func (ProductTemplate) Delete() (bool, error) {
return false, nil
}