package mg.dot.feufaro.musicXML

import kotlinx.serialization.Serializable
import nl.adaptivity.xmlutil.serialization.XmlElement
import nl.adaptivity.xmlutil.serialization.XmlSerialName

@Serializable
@XmlSerialName("measure ", "", "")
data class MXMeasure (
@Serializable
@XmlSerialName("number", "", "")
    var number: Int? = null,
@Serializable
@XmlElement
@XmlSerialName("note", "", "")
    var note: List<MXNote> = listOf(),
@Serializable
@XmlElement
@XmlSerialName("print", "", "")
    var print: MXPrint? = null,
@Serializable
@XmlSerialName("width", "", "")
    var width: Float? = null,
@Serializable
@XmlElement
@XmlSerialName("attributes", "", "")
    var attributes: MXAttributes? = null,
@Serializable
@XmlElement
@XmlSerialName("direction", "", "")
    var direction: MXDirection? = null,
@Serializable
@XmlElement
@XmlSerialName("backup", "", "")
    var backup: MXBackup? = null,
@Serializable
@XmlElement
@XmlSerialName("harmony", "", "")
    var harmony: MXHarmony? = null,
@Serializable
@XmlElement
@XmlSerialName("forward", "", "")
    var forward: MXForward? = null,
@XmlElement
@XmlSerialName("barline", "", "")
var barLine: MXBarLine? = null,
)
