|
|
@@ -0,0 +1,318 @@
|
|
|
+package com.mokamrp.privates.mapper.crawer.pojo;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.extension.activerecord.Model;
|
|
|
+import java.time.LocalDate;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+/**
|
|
|
+ * <p>
|
|
|
+ * 微信公众平台-登录封禁
|
|
|
+ * </p>
|
|
|
+ *
|
|
|
+ * @author leon
|
|
|
+ * @since 2021-10-11
|
|
|
+ */
|
|
|
+@TableName("wx_login_ban")
|
|
|
+public class LoginBan extends Model<LoginBan> {
|
|
|
+
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 原始id
|
|
|
+ */
|
|
|
+ @TableId(value = "primary_key", type = IdType.AUTO)
|
|
|
+ private String primaryKey;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 原始id
|
|
|
+ */
|
|
|
+ private String ghid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 采集时间
|
|
|
+ */
|
|
|
+ private LocalDateTime crawlerCollectionTime;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 所有返回值
|
|
|
+ */
|
|
|
+ private String response;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 账号密码是否错误,0=对1=错
|
|
|
+ */
|
|
|
+ private Boolean passwordError;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否被封禁登陆
|
|
|
+ */
|
|
|
+ private Boolean isBan;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否是迁移
|
|
|
+ */
|
|
|
+ private Boolean isTransfer;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否是永久封禁
|
|
|
+ */
|
|
|
+ private Boolean isForever;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 封禁结束日期(永久默认2099年)
|
|
|
+ */
|
|
|
+ private LocalDate banEndDate;
|
|
|
+
|
|
|
+ private String notifyMsg;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 违反规则
|
|
|
+ */
|
|
|
+ private String ruleTitle;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 违反规则的查看地址
|
|
|
+ */
|
|
|
+ private String ruleUrl;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 封禁类型,2,11=永久,6=临时
|
|
|
+ */
|
|
|
+ private Integer banType;
|
|
|
+
|
|
|
+ private String punishId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 违规内容
|
|
|
+ */
|
|
|
+ private String newInfraction;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 迁移状态,2=已完成,0=迁移中
|
|
|
+ */
|
|
|
+ private Integer transferStatus;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 迁移信息
|
|
|
+ */
|
|
|
+ private String acctTransfer;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 被永封的又恢复正常次数
|
|
|
+ */
|
|
|
+ private Integer errorBack;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 是否通知
|
|
|
+ */
|
|
|
+ private Boolean isNotice;
|
|
|
+
|
|
|
+ private Boolean isNoticeNotice;
|
|
|
+
|
|
|
+ private String newInfractionFormat;
|
|
|
+
|
|
|
+
|
|
|
+ public String getPrimaryKey() {
|
|
|
+ return primaryKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPrimaryKey(String primaryKey) {
|
|
|
+ this.primaryKey = primaryKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getGhid() {
|
|
|
+ return ghid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setGhid(String ghid) {
|
|
|
+ this.ghid = ghid;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getCrawlerCollectionTime() {
|
|
|
+ return crawlerCollectionTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCrawlerCollectionTime(LocalDateTime crawlerCollectionTime) {
|
|
|
+ this.crawlerCollectionTime = crawlerCollectionTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getResponse() {
|
|
|
+ return response;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setResponse(String response) {
|
|
|
+ this.response = response;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Boolean getPasswordError() {
|
|
|
+ return passwordError;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPasswordError(Boolean passwordError) {
|
|
|
+ this.passwordError = passwordError;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Boolean getIsBan() {
|
|
|
+ return isBan;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsBan(Boolean isBan) {
|
|
|
+ this.isBan = isBan;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Boolean getIsTransfer() {
|
|
|
+ return isTransfer;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsTransfer(Boolean isTransfer) {
|
|
|
+ this.isTransfer = isTransfer;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Boolean getIsForever() {
|
|
|
+ return isForever;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsForever(Boolean isForever) {
|
|
|
+ this.isForever = isForever;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDate getBanEndDate() {
|
|
|
+ return banEndDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBanEndDate(LocalDate banEndDate) {
|
|
|
+ this.banEndDate = banEndDate;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getNotifyMsg() {
|
|
|
+ return notifyMsg;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNotifyMsg(String notifyMsg) {
|
|
|
+ this.notifyMsg = notifyMsg;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRuleTitle() {
|
|
|
+ return ruleTitle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRuleTitle(String ruleTitle) {
|
|
|
+ this.ruleTitle = ruleTitle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getRuleUrl() {
|
|
|
+ return ruleUrl;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRuleUrl(String ruleUrl) {
|
|
|
+ this.ruleUrl = ruleUrl;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getBanType() {
|
|
|
+ return banType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setBanType(Integer banType) {
|
|
|
+ this.banType = banType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getPunishId() {
|
|
|
+ return punishId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPunishId(String punishId) {
|
|
|
+ this.punishId = punishId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getNewInfraction() {
|
|
|
+ return newInfraction;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNewInfraction(String newInfraction) {
|
|
|
+ this.newInfraction = newInfraction;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getTransferStatus() {
|
|
|
+ return transferStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTransferStatus(Integer transferStatus) {
|
|
|
+ this.transferStatus = transferStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getAcctTransfer() {
|
|
|
+ return acctTransfer;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setAcctTransfer(String acctTransfer) {
|
|
|
+ this.acctTransfer = acctTransfer;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getErrorBack() {
|
|
|
+ return errorBack;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setErrorBack(Integer errorBack) {
|
|
|
+ this.errorBack = errorBack;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Boolean getIsNotice() {
|
|
|
+ return isNotice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsNotice(Boolean isNotice) {
|
|
|
+ this.isNotice = isNotice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Boolean getIsNoticeNotice() {
|
|
|
+ return isNoticeNotice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIsNoticeNotice(Boolean isNoticeNotice) {
|
|
|
+ this.isNoticeNotice = isNoticeNotice;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getNewInfractionFormat() {
|
|
|
+ return newInfractionFormat;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setNewInfractionFormat(String newInfractionFormat) {
|
|
|
+ this.newInfractionFormat = newInfractionFormat;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected Serializable pkVal() {
|
|
|
+ return this.primaryKey;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return "LoginBan{" +
|
|
|
+ "primaryKey=" + primaryKey +
|
|
|
+ ", ghid=" + ghid +
|
|
|
+ ", crawlerCollectionTime=" + crawlerCollectionTime +
|
|
|
+ ", response=" + response +
|
|
|
+ ", passwordError=" + passwordError +
|
|
|
+ ", isBan=" + isBan +
|
|
|
+ ", isTransfer=" + isTransfer +
|
|
|
+ ", isForever=" + isForever +
|
|
|
+ ", banEndDate=" + banEndDate +
|
|
|
+ ", notifyMsg=" + notifyMsg +
|
|
|
+ ", ruleTitle=" + ruleTitle +
|
|
|
+ ", ruleUrl=" + ruleUrl +
|
|
|
+ ", banType=" + banType +
|
|
|
+ ", punishId=" + punishId +
|
|
|
+ ", newInfraction=" + newInfraction +
|
|
|
+ ", transferStatus=" + transferStatus +
|
|
|
+ ", acctTransfer=" + acctTransfer +
|
|
|
+ ", errorBack=" + errorBack +
|
|
|
+ ", isNotice=" + isNotice +
|
|
|
+ ", isNoticeNotice=" + isNoticeNotice +
|
|
|
+ ", newInfractionFormat=" + newInfractionFormat +
|
|
|
+ "}";
|
|
|
+ }
|
|
|
+}
|