using System.Xml.Serialization; using System.Collections.Generic; namespace SmartCoalApplication.Base.SettingModel { /// /// 设置 - 工作流程 /// [XmlRoot("ROOT")] public class WorkFlowModel { [XmlArrayAttribute("Flows")] public List Flows { get; set; } public class Flow { [XmlElement("Name")] public string Name { 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; } } } } }