package org.dromara.work.domain;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 屏蔽拉黑对象 tp_block
 *
 * @author Maosw
 * @date 2025-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tp_block")
public class TpBlock {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 被关注用户ID
     */
    private Long toUserId;

    /**
     * 类型  1-屏蔽  2-拉黑
     */
    private Integer type;


}
