package com.ema.admin.modules.system.converter;

import com.ema.admin.modules.system.entity.SysFile;
import com.ema.common.mapstruct.MyMapStructMapper;
import org.dromara.x.file.storage.core.FileInfo;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring", uses = MyMapStructMapper.class)
public interface SysFileConverter {

    SysFile toSysFile(FileInfo fileInfo);

    FileInfo toFileInfo(SysFile sysFile);
}
