AdmRelationObject.java 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. package com.persagy.proxy.adm.model;
  2. import com.alibaba.excel.annotation.ExcelIgnore;
  3. import com.alibaba.excel.annotation.ExcelProperty;
  4. import lombok.Getter;
  5. import lombok.Setter;
  6. /**
  7. * graphic/export 导出所使用的实体类对象
  8. *
  9. * @version 1.0.0
  10. * @company persagy
  11. * @author zhangqiankun
  12. * @date 2021年9月3日 上午11:23:39
  13. */
  14. @Getter
  15. @Setter
  16. public class AdmRelationObject {
  17. // 主对象
  18. // *识别编码 -- 对象ID
  19. @ExcelProperty(value = "*识别编码", index = 0)
  20. private String masterCode;
  21. // 设计图纸中编码
  22. @ExcelProperty(value = "设计图纸中编码", index = 1)
  23. private String masterCadId;
  24. // 对象名称
  25. @ExcelProperty(value = "对象名称", index = 2)
  26. private String masterName;
  27. // 对象id
  28. @ExcelProperty(value = "对象id", index = 3)
  29. private String masterId;
  30. // 对象本地编码
  31. @ExcelProperty(value = "对象本地编码", index = 4)
  32. private String masterLocalId;
  33. // 对象本地名称
  34. @ExcelProperty(value = "对象本地名称", index = 5)
  35. private String masterLocalName;
  36. // 对象-类型
  37. @ExcelProperty(value = "对象-类型", index = 6)
  38. private String masterType;
  39. // 所属建筑楼层 中划线隔开
  40. @ExcelProperty(value = "所属建筑楼层", index = 7)
  41. private String masterBelong;
  42. // 从对象
  43. // *识别编码 -- 对象ID
  44. @ExcelProperty(value = "*识别编码", index = 8)
  45. private String slaveCode;
  46. // 设计图纸中编码
  47. @ExcelProperty(value = "设计图纸中编码", index = 9)
  48. private String slaveCadId;
  49. // 对象名称
  50. @ExcelProperty(value = "对象名称", index = 10)
  51. private String slaveName;
  52. // 对象id
  53. @ExcelProperty(value = "对象id", index = 11)
  54. private String slaveId;
  55. // 对象本地编码
  56. @ExcelProperty(value = "对象本地编码", index = 12)
  57. private String slaveLocalId;
  58. // 对象本地名称
  59. @ExcelProperty(value = "对象本地名称", index = 13)
  60. private String slaveLocalName;
  61. // 对象-类型
  62. @ExcelProperty(value = "对象-类型", index = 14)
  63. private String slaveType;
  64. // 所属建筑楼层 中划线隔开
  65. @ExcelProperty(value = "所属建筑楼层", index = 15)
  66. private String slaveBelong;
  67. // 失败原因
  68. @ExcelProperty(index = 16)
  69. private String failureMsg; // 失败原因
  70. @ExcelIgnore
  71. private String masterBuildingName; // 建筑本地名称
  72. @ExcelIgnore
  73. private String masterFloorName; // 楼层本地名称
  74. @ExcelIgnore
  75. private String slaveBuildingName; // 建筑本地名称
  76. @ExcelIgnore
  77. private String slaveFloorName; // 楼层本地名称
  78. }