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_dynamics_num
 *
 * @author Maosw
 * @date 2025-04-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tp_dynamics_num")
public class TpDynamicsNum {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 动态ID
     */
    private Long pictureId;

    /**
     * 类型  1-点赞  2-收藏
     */
    private Integer type;


}
