add exec
This commit is contained in:
@@ -35,6 +35,10 @@ type AbstractResource[T ResourceInstanceITF] struct {
|
||||
Instances []T `json:"instances,omitempty" bson:"instances,omitempty"` // Bill is the bill of the resource // Bill is the bill of the resource
|
||||
}
|
||||
|
||||
func (r *AbstractResource[T]) Transform() utils.DBObject {
|
||||
return r
|
||||
}
|
||||
|
||||
func (r *AbstractResource[T]) StoreDraftDefault() {
|
||||
r.IsDraft = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user