service backend
This commit is contained in:
13
api/pkg/model/customizable.go
Normal file
13
api/pkg/model/customizable.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package model
|
||||
|
||||
type Custimizable interface {
|
||||
GetProperties() []Value
|
||||
}
|
||||
|
||||
type CustomozableBase struct {
|
||||
Properties []Value `bson:"properties" json:"properties"`
|
||||
}
|
||||
|
||||
func (c *CustomozableBase) GetProperties() []Value {
|
||||
return c.Properties
|
||||
}
|
||||
Reference in New Issue
Block a user