123
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
package com.ruoyi.cai.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 登陆拦截记录对象 cai_forbid_filter
|
||||
*
|
||||
* @author 77
|
||||
* @date 2024-01-18
|
||||
*/
|
||||
@Data
|
||||
@TableName("cai_forbid_filter")
|
||||
public class ForbidFilter implements Serializable {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private Long id;
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
private Integer type;
|
||||
/**
|
||||
* 拦截数据
|
||||
*/
|
||||
private String member;
|
||||
/**
|
||||
* 拦截用户
|
||||
*/
|
||||
private Long userId;
|
||||
/**
|
||||
* 拦截编号
|
||||
*/
|
||||
private String traceNo;
|
||||
/**
|
||||
* 关联ID
|
||||
*/
|
||||
private Long forbidId;
|
||||
/**
|
||||
* 理由
|
||||
*/
|
||||
private String filterReason;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
@@ -25,39 +25,14 @@ public class UserForbid implements Serializable {
|
||||
*/
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 类型 :1 封用户uid 2.封设备uuid 3.imei 4.mac
|
||||
*/
|
||||
private Integer type;
|
||||
/**
|
||||
* 封禁来源:1.账号 2.聊天
|
||||
*/
|
||||
private Integer sourceId;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String member;
|
||||
/**
|
||||
* 封号时长 1.封6小时 2.封1天 3.封3天 4.封5天 5.封7天 6.封一个月 7.封10年 8 一小时 9 三小时 10 十二小时
|
||||
*/
|
||||
private Integer forbidTime;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
private LocalDateTime beginTime;
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
private LocalDateTime endTime;
|
||||
/**
|
||||
* 原始用户ID(后台编辑用)
|
||||
*/
|
||||
private Long originUid;
|
||||
/**
|
||||
* 理由
|
||||
*/
|
||||
private LocalDateTime createTime;
|
||||
private String reason;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
// 1-封禁中 2-已解封
|
||||
private Integer forbidStatus;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.ruoyi.cai.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 封禁记录对象 cai_user_forbid_log
|
||||
*
|
||||
* @author 77
|
||||
* @date 2024-01-18
|
||||
*/
|
||||
@Data
|
||||
@TableName("cai_user_forbid_log")
|
||||
public class UserForbidLog implements Serializable {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId(value = "id",type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**
|
||||
* 类型 :1 封用户uid 2.封设备uuid 3.imei 4.ip
|
||||
*/
|
||||
private Integer type;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String member;
|
||||
/**
|
||||
* 封号时长 1.封6小时 2.封1天 3.封3天 4.封7天 5.封一个月 6.封10年
|
||||
*/
|
||||
private Integer forbidTime;
|
||||
/**
|
||||
* 理由
|
||||
*/
|
||||
private String reason;
|
||||
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user