package org.dromara.main.domain;

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

/**
 * 学员简历附件对象 main_student_appendix
 *
 * @author antigravity
 * @date 2026-04-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("main_student_appendix")
public class MainStudentAppendix extends BaseEntity {

    private static final long serialVersionUID = 1L;

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

    /**
     * 学员ID (关联 main_student.id)
     */
    private Long studentId;

    /**
     * 附件OSS ID
     */
    private Long ossId;

    /**
     * 原始文件名
     */
    private String fileName;

    /**
     * 文件大小
     */
    private Long fileSize;

    /**
     * 删除标志
     */
    @TableLogic
    private String delFlag;

}
