IDs: string -> int

This commit is contained in:
Simon Martens
2025-02-19 22:03:40 +01:00
parent aa7c5f4d6c
commit 107a9d9f70
21 changed files with 94 additions and 63 deletions

View File

@@ -173,11 +173,11 @@ func (c *Content) SetEntry(entry string) {
c.Set(ENTRIES_TABLE, entry)
}
func (c *Content) MusenalmID() string {
return c.GetString(MUSENALMID_FIELD)
func (c *Content) MusenalmID() int {
return c.GetInt(MUSENALMID_FIELD)
}
func (c *Content) SetMusenalmID(musenalmID string) {
func (c *Content) SetMusenalmID(musenalmID int) {
c.Set(MUSENALMID_FIELD, musenalmID)
}