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

@@ -58,11 +58,11 @@ func (p *Place) SetAnnotation(annotation string) {
p.Set(ANNOTATION_FIELD, annotation)
}
func (p *Place) MusenalmID() string {
return p.GetString(MUSENALMID_FIELD)
func (p *Place) MusenalmID() int {
return p.GetInt(MUSENALMID_FIELD)
}
func (p *Place) SetMusenalmID(id string) {
func (p *Place) SetMusenalmID(id int) {
p.Set(MUSENALMID_FIELD, id)
}