ResourcesInfo.java 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. package com.lqkj.supporting.entity;
  2. import com.fasterxml.jackson.annotation.JsonIgnore;
  3. import com.vividsolutions.jts.geom.Geometry;
  4. import org.apache.commons.lang3.builder.ToStringBuilder;
  5. import org.apache.commons.lang3.builder.ToStringStyle;
  6. import com.lqkj.common.annotation.Excel;
  7. import com.lqkj.common.core.model.BaseEntity;
  8. /**
  9. * 资源点位对象对象 resources_info
  10. *
  11. * @author lqkj
  12. * @date 2025-05-07
  13. */
  14. public class ResourcesInfo extends BaseEntity
  15. {
  16. private static final long serialVersionUID = 1L;
  17. /** 信息ID */
  18. private Integer infoId;
  19. /** 类型编号:type_id */
  20. @Excel(name = "类型编号:type_id")
  21. private Integer typeId;
  22. /** 名字:area_name */
  23. @Excel(name = "名字:area_name")
  24. private String infoName;
  25. /** 备注:memo */
  26. @Excel(name = "备注:memo")
  27. private String memo;
  28. /** 坐标: location */
  29. @Excel(name = "坐标: location")
  30. private Object location;
  31. private String typeName;
  32. private int distance;
  33. public void setInfoId(Integer infoId)
  34. {
  35. this.infoId = infoId;
  36. }
  37. public Integer getInfoId()
  38. {
  39. return infoId;
  40. }
  41. public void setTypeId(Integer typeId)
  42. {
  43. this.typeId = typeId;
  44. }
  45. public Integer getTypeId()
  46. {
  47. return typeId;
  48. }
  49. public void setInfoName(String infoName)
  50. {
  51. this.infoName = infoName;
  52. }
  53. public String getInfoName()
  54. {
  55. return infoName;
  56. }
  57. public void setMemo(String memo)
  58. {
  59. this.memo = memo;
  60. }
  61. public String getMemo()
  62. {
  63. return memo;
  64. }
  65. public void setLocation(Object location)
  66. {
  67. this.location = location;
  68. }
  69. public Object getLocation()
  70. {
  71. return location;
  72. }
  73. public String getTypeName() {
  74. return typeName;
  75. }
  76. public void setTypeName(String typeName) {
  77. this.typeName = typeName;
  78. }
  79. public int getDistance() {
  80. return distance;
  81. }
  82. public void setDistance(int distance) {
  83. this.distance = distance;
  84. }
  85. @Override
  86. public String toString() {
  87. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  88. .append("infoId", getInfoId())
  89. .append("typeId", getTypeId())
  90. .append("infoName", getInfoName())
  91. .append("memo", getMemo())
  92. .append("location", getLocation())
  93. .toString();
  94. }
  95. }