mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 02:25:30 +00:00
+general tables
This commit is contained in:
23
dbmodels/html.go
Normal file
23
dbmodels/html.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user