service backend
This commit is contained in:
15
api/pkg/model/automation.go
Normal file
15
api/pkg/model/automation.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/tech/sendico/pkg/db/storable"
|
||||
"github.com/tech/sendico/pkg/mservice"
|
||||
)
|
||||
|
||||
type Automation struct {
|
||||
storable.Base `bson:",inline" json:",inline"`
|
||||
Describable `bson:",inline" json:",inline"`
|
||||
}
|
||||
|
||||
func (*Automation) Collection() string {
|
||||
return mservice.Automations
|
||||
}
|
||||
Reference in New Issue
Block a user