CenterdataTFirecontrolFireKeyPlaces.java 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. package com.sooka.sponest.data.digitalfirecontrol.domain;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import com.ruoyi.common.core.annotation.Excel;
  4. import com.sooka.sponest.data.base.domain.BaseBusinessEntity;
  5. import io.swagger.annotations.ApiModel;
  6. import io.swagger.annotations.ApiModelProperty;
  7. import lombok.Data;
  8. import org.apache.commons.lang3.builder.ToStringBuilder;
  9. import org.apache.commons.lang3.builder.ToStringStyle;
  10. import javax.validation.constraints.NotBlank;
  11. import java.util.List;
  12. /**
  13. * 重点场所管理对象 centerdata_t_firecontrol_fire_key_places
  14. *
  15. * @author ruoyi
  16. * @date 2023-02-25
  17. */
  18. @Data
  19. @ApiModel(description = "数据中心重点场所实体类对象", value = "数据中心重点场所对象")
  20. public class CenterdataTFirecontrolFireKeyPlaces extends BaseBusinessEntity {
  21. private static final long serialVersionUID = 1L;
  22. /**
  23. * 主键id
  24. */
  25. @ApiModelProperty(value = "主键id", required = false)
  26. private String id;
  27. /**
  28. * 名称
  29. */
  30. @ApiModelProperty(value = "名称", required = true)
  31. @Excel(name = "名称")
  32. @NotBlank(message = "名称不能为空")
  33. private String name;
  34. /**
  35. * 地址
  36. */
  37. @ApiModelProperty(value = "地址", required = true)
  38. @Excel(name = "地址")
  39. @NotBlank(message = "地址不能为空")
  40. private String address;
  41. /**
  42. * 联系人
  43. */
  44. @ApiModelProperty(value = "联系人", required = true)
  45. @Excel(name = "联系人")
  46. @NotBlank(message = "联系人不能为空")
  47. private String person;
  48. /**
  49. * 联系电话
  50. */
  51. @ApiModelProperty(value = "联系电话", required = true)
  52. @Excel(name = "联系电话")
  53. @NotBlank(message = "联系电话不能为空")
  54. private String phone;
  55. /**
  56. * 经度
  57. */
  58. @ApiModelProperty(value = "经度", required = true)
  59. @Excel(name = "经度")
  60. @NotBlank(message = "经度不能为空")
  61. private String longitude;
  62. /**
  63. * 纬度
  64. */
  65. @ApiModelProperty(value = "纬度", required = true)
  66. @Excel(name = "纬度")
  67. @NotBlank(message = "纬度不能为空")
  68. private String latitude;
  69. /**
  70. * 部门id
  71. */
  72. @ApiModelProperty(value = "部门id", required = false)
  73. private Long deptId;
  74. /**
  75. * 所属部门
  76. */
  77. @ApiModelProperty(value = "所属部门", required = true)
  78. @Excel(name = "所属部门")
  79. @NotBlank(message = "所属部门不能为空")
  80. private String deptName;
  81. /**
  82. * 图片上传路径
  83. */
  84. @ApiModelProperty(value = "图片上传路径", required = false)
  85. private String attachPaths;
  86. /**
  87. * 图片来源
  88. */
  89. @ApiModelProperty(value = "图片来源", required = false)
  90. private String busSource;
  91. public List<String> getdeviceList() {
  92. return deviceList;
  93. }
  94. public void setdeviceList(List<String> deviceList) {
  95. this.deviceList = deviceList;
  96. }
  97. @JsonProperty("deviceList")
  98. private List<String> deviceList;
  99. public void setId(String id) {
  100. this.id = id;
  101. }
  102. public String getId() {
  103. return id;
  104. }
  105. public void setName(String name) {
  106. this.name = name;
  107. }
  108. public String getName() {
  109. return name;
  110. }
  111. public void setAddress(String address) {
  112. this.address = address;
  113. }
  114. public String getAddress() {
  115. return address;
  116. }
  117. public void setPerson(String person) {
  118. this.person = person;
  119. }
  120. public String getPerson() {
  121. return person;
  122. }
  123. public void setPhone(String phone) {
  124. this.phone = phone;
  125. }
  126. public String getPhone() {
  127. return phone;
  128. }
  129. public void setLongitude(String longitude) {
  130. this.longitude = longitude;
  131. }
  132. public String getLongitude() {
  133. return longitude;
  134. }
  135. public void setLatitude(String latitude) {
  136. this.latitude = latitude;
  137. }
  138. public String getLatitude() {
  139. return latitude;
  140. }
  141. public Long getDeptId() {
  142. return deptId;
  143. }
  144. public void setDeptId(Long deptId) {
  145. this.deptId = deptId;
  146. }
  147. public void setDeptName(String deptName) {
  148. this.deptName = deptName;
  149. }
  150. public String getDeptName() {
  151. return deptName;
  152. }
  153. @Override
  154. public String toString() {
  155. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  156. .append("id", getId())
  157. .append("name", getName())
  158. .append("address", getAddress())
  159. .append("person", getPerson())
  160. .append("phone", getPhone())
  161. .append("longitude", getLongitude())
  162. .append("latitude", getLatitude())
  163. .append("deptId", getDeptId())
  164. .append("deptName", getDeptName())
  165. .append("createBy", getCreateBy())
  166. .append("createName", getCreateName())
  167. .append("createTime", getCreateTime())
  168. .append("updateBy", getUpdateBy())
  169. .append("updateName", getUpdateName())
  170. .append("updateTime", getUpdateTime())
  171. .toString();
  172. }
  173. }