service backend
This commit is contained in:
11
api/pkg/model/describable.go
Normal file
11
api/pkg/model/describable.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
type Describable struct {
|
||||
Name string `bson:"name" json:"name"` // Name
|
||||
Description *string `bson:"description,omitempty" json:"description,omitempty"` // Optional description
|
||||
}
|
||||
|
||||
const (
|
||||
NameField = "name"
|
||||
DescriptionField = "description"
|
||||
)
|
||||
Reference in New Issue
Block a user