|
@@ -1,155 +1,147 @@
|
|
package com.ruoyi.qdtl.domain;
|
|
package com.ruoyi.qdtl.domain;
|
|
|
|
|
|
-import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
-import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.annotation.Excel;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
+import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
+import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 区域管理对象 tl_area
|
|
* 区域管理对象 tl_area
|
|
- *
|
|
|
|
|
|
+ *
|
|
* @author ruoyi
|
|
* @author ruoyi
|
|
* @date 2022-02-21
|
|
* @date 2022-02-21
|
|
*/
|
|
*/
|
|
-public class TlArea extends BaseEntity
|
|
|
|
-{
|
|
|
|
|
|
+public class TlArea extends BaseEntity {
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
- /** id */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * id
|
|
|
|
+ */
|
|
private Long id;
|
|
private Long id;
|
|
|
|
|
|
- /** 父id */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 父id
|
|
|
|
+ */
|
|
private Long parentId;
|
|
private Long parentId;
|
|
|
|
|
|
- /** 编号 */
|
|
|
|
- @Excel(name = "编号")
|
|
|
|
- private String areaCode;
|
|
|
|
-
|
|
|
|
- /** 名称 */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 名称
|
|
|
|
+ */
|
|
@Excel(name = "名称")
|
|
@Excel(name = "名称")
|
|
private String areaName;
|
|
private String areaName;
|
|
|
|
|
|
- /** 区域类型 */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 区域类型
|
|
|
|
+ */
|
|
@Excel(name = "区域类型")
|
|
@Excel(name = "区域类型")
|
|
private String areaType;
|
|
private String areaType;
|
|
|
|
|
|
- /** 区域描述 */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 区域描述
|
|
|
|
+ */
|
|
@Excel(name = "区域描述")
|
|
@Excel(name = "区域描述")
|
|
private String detail;
|
|
private String detail;
|
|
|
|
|
|
- /** 电子围栏 */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 电子围栏
|
|
|
|
+ */
|
|
private String fence;
|
|
private String fence;
|
|
|
|
|
|
- /** 经纬度 */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 经纬度
|
|
|
|
+ */
|
|
private String lnglat;
|
|
private String lnglat;
|
|
|
|
|
|
private Integer deviceCount;
|
|
private Integer deviceCount;
|
|
|
|
|
|
private Integer locationCount;
|
|
private Integer locationCount;
|
|
|
|
|
|
- /** 删除标志(0代表存在 2代表删除) */
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 删除标志(0代表存在 2代表删除)
|
|
|
|
+ */
|
|
private String delFlag;
|
|
private String delFlag;
|
|
|
|
|
|
- public void setId(Long id)
|
|
|
|
- {
|
|
|
|
|
|
+ public void setId(Long id) {
|
|
this.id = id;
|
|
this.id = id;
|
|
}
|
|
}
|
|
|
|
|
|
- public Long getId()
|
|
|
|
- {
|
|
|
|
|
|
+ public Long getId() {
|
|
return id;
|
|
return id;
|
|
}
|
|
}
|
|
- public void setParentId(Long parentId)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setParentId(Long parentId) {
|
|
this.parentId = parentId;
|
|
this.parentId = parentId;
|
|
}
|
|
}
|
|
|
|
|
|
- public Long getParentId()
|
|
|
|
- {
|
|
|
|
|
|
+ public Long getParentId() {
|
|
return parentId;
|
|
return parentId;
|
|
}
|
|
}
|
|
- public void setAreaCode(String areaCode)
|
|
|
|
- {
|
|
|
|
- this.areaCode = areaCode;
|
|
|
|
- }
|
|
|
|
|
|
|
|
- public String getAreaCode()
|
|
|
|
- {
|
|
|
|
- return areaCode;
|
|
|
|
- }
|
|
|
|
- public void setAreaName(String areaName)
|
|
|
|
- {
|
|
|
|
|
|
+ public void setAreaName(String areaName) {
|
|
this.areaName = areaName;
|
|
this.areaName = areaName;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getAreaName()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getAreaName() {
|
|
return areaName;
|
|
return areaName;
|
|
}
|
|
}
|
|
- public void setAreaType(String areaType)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setAreaType(String areaType) {
|
|
this.areaType = areaType;
|
|
this.areaType = areaType;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getAreaType()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getAreaType() {
|
|
return areaType;
|
|
return areaType;
|
|
}
|
|
}
|
|
- public void setDetail(String detail)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setDetail(String detail) {
|
|
this.detail = detail;
|
|
this.detail = detail;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getDetail()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getDetail() {
|
|
return detail;
|
|
return detail;
|
|
}
|
|
}
|
|
- public void setFence(String fence)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setFence(String fence) {
|
|
this.fence = fence;
|
|
this.fence = fence;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getFence()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getFence() {
|
|
return fence;
|
|
return fence;
|
|
}
|
|
}
|
|
- public void setLnglat(String lnglat)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setLnglat(String lnglat) {
|
|
this.lnglat = lnglat;
|
|
this.lnglat = lnglat;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getLnglat()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getLnglat() {
|
|
return lnglat;
|
|
return lnglat;
|
|
}
|
|
}
|
|
- public void setDelFlag(String delFlag)
|
|
|
|
- {
|
|
|
|
|
|
+
|
|
|
|
+ public void setDelFlag(String delFlag) {
|
|
this.delFlag = delFlag;
|
|
this.delFlag = delFlag;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getDelFlag()
|
|
|
|
- {
|
|
|
|
|
|
+ public String getDelFlag() {
|
|
return delFlag;
|
|
return delFlag;
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public String toString() {
|
|
public String toString() {
|
|
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
- .append("id", getId())
|
|
|
|
- .append("parentId", getParentId())
|
|
|
|
- .append("areaCode", getAreaCode())
|
|
|
|
- .append("areaName", getAreaName())
|
|
|
|
- .append("areaType", getAreaType())
|
|
|
|
- .append("detail", getDetail())
|
|
|
|
- .append("remark", getRemark())
|
|
|
|
- .append("fence", getFence())
|
|
|
|
- .append("lnglat", getLnglat())
|
|
|
|
- .append("delFlag", getDelFlag())
|
|
|
|
- .append("createBy", getCreateBy())
|
|
|
|
- .append("createTime", getCreateTime())
|
|
|
|
- .append("updateBy", getUpdateBy())
|
|
|
|
- .append("updateTime", getUpdateTime())
|
|
|
|
- .toString();
|
|
|
|
|
|
+ return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
|
+ .append("id", getId())
|
|
|
|
+ .append("parentId", getParentId())
|
|
|
|
+ .append("areaName", getAreaName())
|
|
|
|
+ .append("areaType", getAreaType())
|
|
|
|
+ .append("detail", getDetail())
|
|
|
|
+ .append("remark", getRemark())
|
|
|
|
+ .append("fence", getFence())
|
|
|
|
+ .append("lnglat", getLnglat())
|
|
|
|
+ .append("delFlag", getDelFlag())
|
|
|
|
+ .append("createBy", getCreateBy())
|
|
|
|
+ .append("createTime", getCreateTime())
|
|
|
|
+ .append("updateBy", getUpdateBy())
|
|
|
|
+ .append("updateTime", getUpdateTime())
|
|
|
|
+ .toString();
|
|
}
|
|
}
|
|
|
|
|
|
public Integer getDeviceCount() {
|
|
public Integer getDeviceCount() {
|