+reihen edit, personen edit

This commit is contained in:
Simon Martens
2026-01-09 13:22:23 +01:00
parent 5b75456439
commit 2d7751b4cb
14 changed files with 774 additions and 43 deletions

View File

@@ -4,6 +4,7 @@ import (
"strings"
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/types"
)
var _ core.RecordProxy = (*Agent)(nil)
@@ -154,3 +155,7 @@ func (a *Agent) Editor() string {
func (a *Agent) SetEditor(editor string) {
a.Set(EDITOR_FIELD, editor)
}
func (a *Agent) Updated() types.DateTime {
return a.GetDateTime(UPDATED_FIELD)
}

View File

@@ -2,6 +2,7 @@ package dbmodels
import (
"github.com/pocketbase/pocketbase/core"
"github.com/pocketbase/pocketbase/tools/types"
)
var _ core.RecordProxy = (*Series)(nil)
@@ -95,3 +96,7 @@ func (s *Series) Editor() string {
func (s *Series) SetEditor(editor string) {
s.Set(EDITOR_FIELD, editor)
}
func (s *Series) Updated() types.DateTime {
return s.GetDateTime(UPDATED_FIELD)
}