mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
24 lines
367 B
Go
24 lines
367 B
Go
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)
|
|
}
|