package org.dromara.project.domain.vo.constructionuserfile;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import org.dromara.project.domain.BusConstructionUserFile;

import java.io.Serial;
import java.io.Serializable;


/**
 * 施工人员文件存储视图对象 bus_construction_user_file
 *
 * @author lcj
 * @date 2025-04-01
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusConstructionUserFile.class)
public class BusConstructionUserFileVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

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

    /**
     * 文件类型
     */
    @ExcelProperty(value = "文件类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "user_file_type")
    private String fileType;

    /**
     * 文件路径
     */
    @ExcelProperty(value = "文件路径")
    private String path;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

}
