package com.lideeyunji.service.infra.config.convert.file;

import com.lideeyunji.service.infra.controller.vo.file.FileConfigSaveReqVO;
import com.lideeyunji.service.infra.entity.FileConfigDO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

/**
 * 文件配置 Convert
 *
 * @author 金灯剑客
 */
@Mapper
public interface FileConfigConvert {

    FileConfigConvert INSTANCE = Mappers.getMapper(FileConfigConvert.class);

    @Mapping(target = "config", ignore = true)
    FileConfigDO convert(FileConfigSaveReqVO bean);

}
