Files
old-backend/models/product_template.go
2023-10-13 11:48:14 +02:00

19 lines
484 B
Go

package models
type ProductTemplate struct {
BaseModel
Name string `json:"name"`
ProductTemplateConfig map[string]interface{} `json:",omitempty" sql:"-"`
Config string `json:"raw_config" gorm:"type:json"`
}
func (ProductTemplate) Update() (bool, error) {
return false, nil
}
func (ProductTemplate) Create() (bool, error) {
return false, nil
}
func (ProductTemplate) Delete() (bool, error) {
return false, nil
}