+general tables

This commit is contained in:
Simon Martens
2026-01-12 15:16:11 +01:00
parent 925f22607b
commit 696f7fe087
9 changed files with 486 additions and 0 deletions

23
dbmodels/html.go Normal file
View File

@@ -0,0 +1,23 @@
package dbmodels
import "github.com/pocketbase/pocketbase/core"
type HTML struct {
core.BaseRecordProxy
}
func (h *HTML) Key() string {
return h.GetString(KEY_FIELD)
}
func (h *HTML) SetKey(key string) {
h.Set(KEY_FIELD, key)
}
func (h *HTML) HTML() string {
return h.GetString(HTML_FIELD)
}
func (h *HTML) SetHTML(html string) {
h.Set(HTML_FIELD, html)
}