using System.Xml.Serialization; using System.Collections.Generic; namespace SmartCoalApplication.Base.SettingModel { /// /// 自定义界面 - 快捷键 /// [XmlRoot("ROOT")] public class ShortcutbarModel { [XmlArrayAttribute("Menus")] public List Menus { get; set; } public class Item { [XmlElement("Id")] public int Id { get; set; } [XmlElement("Name")] public string Name { get; set; } [XmlElement("Description")] public string Description { get; set; } } } }