using System.Xml.Serialization; using System.Collections.Generic; namespace SmartCoalApplication.Base.SettingModel { /// /// 自定义界面 - 工具栏 /// [XmlRoot("ROOT")] public class ToolbarModel { [XmlArrayAttribute("Flows")] public List Flows { get; set; } public class Flow { [XmlElement("Key")] public string Key { get; set; } [XmlElement("Name")] public string Name { get; set; } [XmlElement("X")] public int X { get; set; } [XmlElement("Y")] public int Y { get; set; } [XmlElement("Show")] public bool Show { get; set; } [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; } } } } }