package org.dromara.personnel.domain.vo;

import org.dromara.personnel.domain.OpsUserFiles;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

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



/**
 * 运维人员文件视图对象 ops_user_files
 *
 * @author LionLi
 * @date 2025-09-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = OpsUserFiles.class)
public class OpsUserFilesVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 运维人员id
     */
    @ExcelProperty(value = "运维人员id")
    private Long opsUserId;

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

    /**
     * 文件名称
     */
    @ExcelProperty(value = "文件名称")
    private String fileName;

    /**
     * 文件类型（1、特种作业证图片）
     */
    @ExcelProperty(value = "文件类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=、特种作业证图片")
    private String fileType;


}
