mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
new places
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package dbmodels
|
||||
|
||||
import "github.com/pocketbase/pocketbase/core"
|
||||
import (
|
||||
"github.com/pocketbase/pocketbase/core"
|
||||
"github.com/pocketbase/pocketbase/tools/types"
|
||||
)
|
||||
|
||||
var _ core.RecordProxy = (*Place)(nil)
|
||||
|
||||
@@ -89,3 +92,7 @@ func (p *Place) Editor() string {
|
||||
func (p *Place) SetEditor(editor string) {
|
||||
p.Set(EDITOR_FIELD, editor)
|
||||
}
|
||||
|
||||
func (p *Place) Updated() types.DateTime {
|
||||
return p.GetDateTime(UPDATED_FIELD)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user