package org.dromara.work.domain.vo;

import org.dromara.system.domain.vo.SysUserVo;
import org.dromara.work.domain.TpWorksNum;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


/**
 * 作品点赞收藏视图对象 tp_works_num
 *
 * @author Maosw
 * @date 2025-04-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TpWorksNum.class)
public class TpWorksNumVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;

    /**
     * 作品ID
     */
    @ExcelProperty(value = "作品ID")
    private Long pictureId;

    /**
     * 类型  1-点赞  2-收藏
     */
    @ExcelProperty(value = "类型  1-点赞  2-收藏")
    private Integer type;

    /**
     * 作品对象
     */
    @ExcelProperty(value = "作品")
    private TpPictureVo tpPictureVo;

    /**
     * 用户对象
     */
    @ExcelProperty(value = "用户对象")
    private SysUserVo sysUserVo;


}
