mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 01:05:32 +00:00
Places, Agents, Serials, Entries
This commit is contained in:
34
xmlmodels/baende.go
Normal file
34
xmlmodels/baende.go
Normal file
@@ -0,0 +1,34 @@
|
||||
package xmlmodels
|
||||
|
||||
import "encoding/xml"
|
||||
|
||||
type Bände struct {
|
||||
XMLName xml.Name `xml:"dataroot"`
|
||||
Bände []Band `xml:"Baende"`
|
||||
}
|
||||
|
||||
type Band struct {
|
||||
ID string `xml:"ID"`
|
||||
BiblioID int `xml:"BIBLIO-ID"`
|
||||
Titelangabe string `xml:"TITEL"`
|
||||
Ortsangabe string `xml:"ORT-ALT"`
|
||||
Orte []Ortverweis `xml:"ORTE"`
|
||||
Verantwortlichkeitsangabe string `xml:"HERAUSGEBER"`
|
||||
Jahr int `xml:"JAHR"`
|
||||
Gesichtet bool `xml:"AUTOPSIE"`
|
||||
Erfasst bool `xml:"ERFASST"`
|
||||
Nachweis string `xml:"NACHWEIS"`
|
||||
Struktur string `xml:"STRUKTUR"`
|
||||
Norm string `xml:"NORM"`
|
||||
Status Status `xml:"STATUS"`
|
||||
Anmerkungen string `xml:"ANMERKUNGEN"`
|
||||
ReihentitelALT string `xml:"REIHENTITEL-ALT"`
|
||||
}
|
||||
|
||||
type Ortverweis struct {
|
||||
Value string `xml:"Value"`
|
||||
}
|
||||
|
||||
type Status struct {
|
||||
Value []string `xml:"Value"`
|
||||
}
|
||||
Reference in New Issue
Block a user