AnalyzeSettingModel.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Xml.Serialization;
  7. namespace PaintDotNet.Base.Functionodel
  8. {
  9. /// <summary>
  10. /// 分析设置
  11. /// </summary>
  12. [XmlRoot("ROOT")]
  13. public class AnalyzeSettingModel
  14. {
  15. /// <summary>
  16. /// 模板路径
  17. /// </summary>
  18. [XmlElement("modulePath")]
  19. public string modulePath { get; set; }
  20. /// <summary>
  21. /// 存储路径
  22. /// </summary>
  23. [XmlElement("savePath")]
  24. public string savePath { get; set; }
  25. /// <summary>
  26. /// 项目编号
  27. /// </summary>
  28. [XmlElement("itemNumber")]
  29. public string itemNumber { get; set; }
  30. /// <summary>
  31. /// 评级日期
  32. /// </summary>
  33. [XmlElement("ratingDate")]
  34. public DateTime ratingDate { get; set; }
  35. /// <summary>
  36. /// 送检人
  37. /// </summary>
  38. [XmlElement("inspectionPerson")]
  39. public string inspectionPerson { get; set; }
  40. /// <summary>
  41. /// 联系人
  42. /// </summary>
  43. [XmlElement("contact")]
  44. public string contact { get; set; }
  45. /// <summary>
  46. /// 送检单位
  47. /// </summary>
  48. [XmlElement("inspectionDepartment")]
  49. public string inspectionDepartment { get; set; }
  50. /// <summary>
  51. /// 送检日期
  52. /// </summary>
  53. [XmlElement("inspectionDate")]
  54. public DateTime inspectionDate { get; set; }
  55. /// <summary>
  56. /// 分类名
  57. /// </summary>
  58. [XmlElement("analyzeClassify")]
  59. public string analyzeClassify { get; set; }
  60. /// <summary>
  61. /// 其他列表
  62. /// </summary>
  63. [XmlArrayAttribute("otherList")]
  64. public List<OthersInfo> otherList;
  65. public class OthersInfo
  66. {
  67. [XmlElement("name")]
  68. public string name { get; set; }
  69. [XmlElement("content")]
  70. public string content { get; set; }
  71. }
  72. }
  73. }