using System.Xml; using System.Xml.Serialization; namespace SabreTools.Models.Listxml { [XmlRoot("rom")] public class Rom { [XmlAttribute("name")] public string Name { get; set; } [XmlAttribute("bios")] public string? Bios { get; set; } [XmlAttribute("size")] public long Size { get; set; } [XmlAttribute("crc")] public string? CRC { get; set; } [XmlAttribute("sha1")] public string? SHA1 { get; set; } [XmlAttribute("merge")] public string? Merge { get; set; } [XmlAttribute("region")] public string? Region { get; set; } /// Numeric? [XmlAttribute("offset")] public string? Offset { get; set; } /// (baddump|nodump|good) "good" [XmlAttribute("status")] public string? Status { get; set; } /// (yes|no) "no" [XmlAttribute("optional")] public string? Optional { get; set; } } }