InfoPoint.kt 1012 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package com.persagy.legend.models.entities
  2. import io.swagger.v3.oas.annotations.media.Schema
  3. import javax.persistence.Column
  4. import javax.persistence.Id
  5. /**
  6. * 信息点类
  7. * @author zy
  8. */
  9. @Schema(description = "信息点")
  10. class InfoPoint {
  11. /** 信息点id */
  12. @Schema(description = "信息点id")
  13. @Id
  14. var id: String? = null
  15. /** 信息点名称 */
  16. @Schema(description = "信息点名称")
  17. var name: String? = null
  18. /** 信息点编码 */
  19. @Schema(description = "信息点编码")
  20. var code: String? = null
  21. /** 类型编码 */
  22. @Schema(description = "类型编码")
  23. var classCode: String? = null
  24. /** 信息点坐标 */
  25. @Schema(description = "信息点坐标")
  26. var pos: Pos? = null
  27. /** 图例id */
  28. @Schema(description = "图例id")
  29. var legendId: String? = null
  30. /** 信息点属性 */
  31. @Schema(description = "信息点属性")
  32. @Column(name = "properties")
  33. var properties: Map<String, Any>? = null
  34. } // Class InfoPoint