package org.dromara.main.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.main.domain.MainStudentCollection;

import java.io.Serial;

/**
 * 学员收藏视图对象 main_student_collection
 */
@Data
@AutoMapper(target = MainStudentCollection.class)
@EqualsAndHashCode(callSuper = true)
public class MainStudentCollectionVo extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 学员ID
     */
    private Long studentId;

    /**
     * 收藏目标ID(岗位ID/测评ID)
     */
    private Long targetId;

    /**
     * 收藏类型(job:岗位, assessment:测评)
     */
    private String type;

    /**
     * 目标详情数据(岗位详情或测评详情)
     */
    private Object targetData;

}
