2023-09-27 08:04:50 +02:00
|
|
|
package models
|
|
|
|
|
|
|
|
|
|
type ProductTemplate struct {
|
2023-10-13 11:48:14 +02:00
|
|
|
BaseModel
|
|
|
|
|
Name string `json:"name"`
|
2023-09-27 08:04:50 +02:00
|
|
|
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
|
|
|
|
|
}
|