diff --git a/ruoyi-admin/pom.xml b/ruoyi-admin/pom.xml
index dfc45106..642deff6 100644
--- a/ruoyi-admin/pom.xml
+++ b/ruoyi-admin/pom.xml
@@ -60,6 +60,10 @@
com.ruoyi
ruoyi-generator
+
+ org.projectlombok
+ lombok
+
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSjly.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSjly.java
index 68754d72..73d9184a 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSjly.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcSjly.java
@@ -1,5 +1,8 @@
package com.ruoyi.tcZz.domain;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
@@ -11,11 +14,14 @@ import com.ruoyi.common.core.domain.BaseEntity;
* @author ruoyi
* @date 2023-10-12
*/
+@Data
+@ApiModel("数据来源")
public class TcSjly extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
+ @ApiModelProperty(value = "id")
private Long id;
/** 区域id */
@@ -50,105 +56,5 @@ public class TcSjly extends BaseEntity
@Excel(name = "版本")
private String versions;
- public void setId(Long id)
- {
- this.id = id;
- }
- public Long getId()
- {
- return id;
- }
- public void setAreaId(String areaId)
- {
- this.areaId = areaId;
- }
-
- public String getAreaId()
- {
- return areaId;
- }
- public void setType(Long type)
- {
- this.type = type;
- }
-
- public Long getType()
- {
- return type;
- }
- public void setIsStatus(Long isStatus)
- {
- this.isStatus = isStatus;
- }
-
- public Long getIsStatus()
- {
- return isStatus;
- }
- public void setZcName(String zcName)
- {
- this.zcName = zcName;
- }
-
- public String getZcName()
- {
- return zcName;
- }
- public void setAffUnit(String affUnit)
- {
- this.affUnit = affUnit;
- }
-
- public String getAffUnit()
- {
- return affUnit;
- }
- public void setSysyemIp(String sysyemIp)
- {
- this.sysyemIp = sysyemIp;
- }
-
- public String getSysyemIp()
- {
- return sysyemIp;
- }
- public void setOs(String os)
- {
- this.os = os;
- }
-
- public String getOs()
- {
- return os;
- }
- public void setVersions(String versions)
- {
- this.versions = versions;
- }
-
- public String getVersions()
- {
- return versions;
- }
-
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("areaId", getAreaId())
- .append("type", getType())
- .append("isStatus", getIsStatus())
- .append("zcName", getZcName())
- .append("affUnit", getAffUnit())
- .append("sysyemIp", getSysyemIp())
- .append("os", getOs())
- .append("versions", getVersions())
- .append("createBy", getCreateBy())
- .append("createTime", getCreateTime())
- .append("updateBy", getUpdateBy())
- .append("updateTime", getUpdateTime())
- .append("remark", getRemark())
- .toString();
- }
}
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcWljg.java b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcWljg.java
index da7c0532..10d6f267 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcWljg.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/tcZz/domain/TcWljg.java
@@ -2,6 +2,9 @@ package com.ruoyi.tcZz.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
@@ -13,208 +16,87 @@ import com.ruoyi.common.core.domain.BaseEntity;
* @author ruoyi
* @date 2023-10-12
*/
-public class TcWljg extends BaseEntity
-{
+@Data
+@ApiModel("网络监测对象")
+public class TcWljg extends BaseEntity {
private static final long serialVersionUID = 1L;
- /** $column.columnComment */
+ /**
+ * $column.columnComment
+ */
+ @ApiModelProperty(value = "id")
private Long id;
- /** 区域id */
+ /**
+ * 区域id
+ */
@Excel(name = "区域id")
private String areaId;
- /** 1.启用 2.禁用 */
+ /**
+ * 1.启用 2.禁用
+ */
@Excel(name = "1.启用 2.禁用")
private Long isStatus;
- /** 攻击发起时间 */
+ /**
+ * 攻击发起时间
+ */
private Date startTime;
- /** 攻击源IP */
+ /**
+ * 攻击源IP
+ */
@Excel(name = "攻击源IP")
private String attackyIp;
- /** 攻击类型 */
+ /**
+ * 攻击类型
+ */
@Excel(name = "攻击类型")
private String attackType;
- /** 攻击源IP区域 */
+ /**
+ * 攻击源IP区域
+ */
private String attackIpArea;
- /** 受攻击目标类型 */
+ /**
+ * 受攻击目标类型
+ */
private String type;
- /** 受攻击IP */
+ /**
+ * 受攻击IP
+ */
@Excel(name = "受攻击IP")
private String sAttackIp;
- /** 受攻击IP区域 */
+ /**
+ * 受攻击IP区域
+ */
private String sAttackIpArea;
- /** 网站安全等级 */
+ /**
+ * 网站安全等级
+ */
@Excel(name = "网站安全等级")
private String netLevel;
- /** 所属单位 */
+ /**
+ * 所属单位
+ */
private String affUnit;
- /** 联系电话 */
+ /**
+ * 联系电话
+ */
private String linkTel;
- /** 联系人 */
+ /**
+ * 联系人
+ */
@Excel(name = "联系人")
private String linkMan;
- public void setId(Long id)
- {
- this.id = id;
- }
-
- public Long getId()
- {
- return id;
- }
- public void setAreaId(String areaId)
- {
- this.areaId = areaId;
- }
-
- public String getAreaId()
- {
- return areaId;
- }
- public void setIsStatus(Long isStatus)
- {
- this.isStatus = isStatus;
- }
-
- public Long getIsStatus()
- {
- return isStatus;
- }
- public void setStartTime(Date startTime)
- {
- this.startTime = startTime;
- }
-
- public Date getStartTime()
- {
- return startTime;
- }
- public void setAttackyIp(String attackyIp)
- {
- this.attackyIp = attackyIp;
- }
-
- public String getAttackyIp()
- {
- return attackyIp;
- }
- public void setAttackType(String attackType)
- {
- this.attackType = attackType;
- }
-
- public String getAttackType()
- {
- return attackType;
- }
- public void setAttackIpArea(String attackIpArea)
- {
- this.attackIpArea = attackIpArea;
- }
-
- public String getAttackIpArea()
- {
- return attackIpArea;
- }
- public void setType(String type)
- {
- this.type = type;
- }
-
- public String getType()
- {
- return type;
- }
- public void setsAttackIp(String sAttackIp)
- {
- this.sAttackIp = sAttackIp;
- }
-
- public String getsAttackIp()
- {
- return sAttackIp;
- }
- public void setsAttackIpArea(String sAttackIpArea)
- {
- this.sAttackIpArea = sAttackIpArea;
- }
-
- public String getsAttackIpArea()
- {
- return sAttackIpArea;
- }
- public void setNetLevel(String netLevel)
- {
- this.netLevel = netLevel;
- }
-
- public String getNetLevel()
- {
- return netLevel;
- }
- public void setAffUnit(String affUnit)
- {
- this.affUnit = affUnit;
- }
-
- public String getAffUnit()
- {
- return affUnit;
- }
- public void setLinkTel(String linkTel)
- {
- this.linkTel = linkTel;
- }
-
- public String getLinkTel()
- {
- return linkTel;
- }
- public void setLinkMan(String linkMan)
- {
- this.linkMan = linkMan;
- }
-
- public String getLinkMan()
- {
- return linkMan;
- }
-
- @Override
- public String toString() {
- return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
- .append("id", getId())
- .append("areaId", getAreaId())
- .append("isStatus", getIsStatus())
- .append("startTime", getStartTime())
- .append("attackyIp", getAttackyIp())
- .append("attackType", getAttackType())
- .append("attackIpArea", getAttackIpArea())
- .append("type", getType())
- .append("sAttackIp", getsAttackIp())
- .append("sAttackIpArea", getsAttackIpArea())
- .append("netLevel", getNetLevel())
- .append("affUnit", getAffUnit())
- .append("linkTel", getLinkTel())
- .append("linkMan", getLinkMan())
- .append("createBy", getCreateBy())
- .append("createTime", getCreateTime())
- .append("updateBy", getUpdateBy())
- .append("updateTime", getUpdateTime())
- .append("remark", getRemark())
- .toString();
- }
-}
+}
\ No newline at end of file