WorkFlowModel.cs 882 B

123456789101112131415161718192021222324252627282930313233343536
  1. using System.Xml.Serialization;
  2. using System.Collections.Generic;
  3. namespace SmartCoalApplication.Base.SettingModel
  4. {
  5. /// <summary>
  6. /// 设置 - 工作流程
  7. /// </summary>
  8. [XmlRoot("ROOT")]
  9. public class WorkFlowModel
  10. {
  11. [XmlArrayAttribute("Flows")]
  12. public List<Flow> Flows { get; set; }
  13. public class Flow
  14. {
  15. [XmlElement("Name")]
  16. public string Name { get; set; }
  17. [XmlArrayAttribute("Menus")]
  18. public List<Item> Menus { get; set; }
  19. public class Item
  20. {
  21. [XmlElement("Id")]
  22. public int Id { get; set; }
  23. [XmlElement("Name")]
  24. public string Name { get; set; }
  25. [XmlElement("Description")]
  26. public string Description { get; set; }
  27. }
  28. }
  29. }
  30. }