CenterdataTFirecontrolFulltimeStation.java 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  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_fulltime_station
  14. *
  15. * @author lyq
  16. * @date 2022-11-03
  17. */
  18. @Data
  19. @ApiModel(description = "数据中心专职站管理对象实体类对象", value = "数据中心专职站管理对象")
  20. public class CenterdataTFirecontrolFulltimeStation 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 address;
  34. /**
  35. * 负责人
  36. */
  37. @ApiModelProperty(value = "负责人", required = true)
  38. @Excel(name = "负责人")
  39. @NotBlank(message = "负责人不能为空")
  40. private String principal;
  41. /**
  42. * 联系电话
  43. */
  44. @ApiModelProperty(value = "联系电话", required = true)
  45. @Excel(name = "联系电话")
  46. @NotBlank(message = "联系电话不能为空")
  47. private String contactsPhone;
  48. /**
  49. * 经度
  50. */
  51. @ApiModelProperty(value = "经度", required = true)
  52. @Excel(name = "经度")
  53. @NotBlank(message = "经度不能为空")
  54. private String longitude;
  55. /**
  56. * 纬度
  57. */
  58. @ApiModelProperty(value = "纬度", required = true)
  59. @Excel(name = "纬度")
  60. @NotBlank(message = "纬度不能为空")
  61. private String latitude;
  62. /**
  63. * 部门id
  64. */
  65. @ApiModelProperty(value = "部门id", required = false)
  66. private Long deptId;
  67. /**
  68. * 所属部门
  69. */
  70. @ApiModelProperty(value = "所属部门", required = true)
  71. @Excel(name = "所属部门")
  72. @NotBlank(message = "所属部门不能为空")
  73. private String deptName;
  74. /**
  75. * 所属部门
  76. */
  77. @ApiModelProperty(value = "名称", required = true)
  78. @Excel(name = "名称")
  79. @NotBlank(message = "名称不能为空")
  80. private String name;
  81. public List<String> getdeviceList() {
  82. return deviceList;
  83. }
  84. @ApiModelProperty(value = "setdeviceList", required = false)
  85. public void setdeviceList(List<String> deviceList) {
  86. this.deviceList = deviceList;
  87. }
  88. @ApiModelProperty(value = "deviceList", required = false)
  89. @JsonProperty("deviceList")
  90. private List<String> deviceList;
  91. @ApiModelProperty(value = "getName", required = false)
  92. public String getName() {
  93. return name;
  94. }
  95. public void setName(String name) {
  96. this.name = name;
  97. }
  98. public void setId(String id) {
  99. this.id = id;
  100. }
  101. public String getId() {
  102. return id;
  103. }
  104. public void setAddress(String address) {
  105. this.address = address;
  106. }
  107. public String getAddress() {
  108. return address;
  109. }
  110. public void setPrincipal(String principal) {
  111. this.principal = principal;
  112. }
  113. public String getPrincipal() {
  114. return principal;
  115. }
  116. public void setContactsPhone(String contactsPhone) {
  117. this.contactsPhone = contactsPhone;
  118. }
  119. public String getContactsPhone() {
  120. return contactsPhone;
  121. }
  122. public void setLongitude(String longitude) {
  123. this.longitude = longitude;
  124. }
  125. public String getLongitude() {
  126. return longitude;
  127. }
  128. public void setLatitude(String latitude) {
  129. this.latitude = latitude;
  130. }
  131. public String getLatitude() {
  132. return latitude;
  133. }
  134. public void setDeptId(Long deptId) {
  135. this.deptId = deptId;
  136. }
  137. public Long getDeptId() {
  138. return deptId;
  139. }
  140. public void setDeptName(String deptName) {
  141. this.deptName = deptName;
  142. }
  143. public String getDeptName() {
  144. return deptName;
  145. }
  146. @Override
  147. public String toString() {
  148. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  149. .append("id", getId())
  150. .append("address", getAddress())
  151. .append("principal", getPrincipal())
  152. .append("contactsPhone", getContactsPhone())
  153. .append("longitude", getLongitude())
  154. .append("latitude", getLatitude())
  155. .append("deptId", getDeptId())
  156. .append("deptName", getDeptName())
  157. .append("createBy", getCreateBy())
  158. .append("createName", getCreateName())
  159. .append("createTime", getCreateTime())
  160. .append("updateBy", getUpdateBy())
  161. .append("updateName", getUpdateName())
  162. .append("updateTime", getUpdateTime())
  163. .toString();
  164. }
  165. }