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_black
 *
 * @author 77
 * @date 2024-01-04
 */
@Data
@TableName("cai_black")
public class Black implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * ip地址
     */
    private String ipAddress;
    /**
     * 1-IP 2-MIC
     */
    private Integer type;
    /**
     * 启用状态 1-启用 0-关闭
     */
    private Integer enableStatus;
    /**
     * 创建人
     */
    private Long createById;
    /**
     * 创建人名
     */
    private String createByName;

    private LocalDateTime createTime;

}
