mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
IDs: string -> int
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user