package cn.pluss.platform.converter;

import cn.pluss.platform.entity.MerchantImage;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 图片实体类属性转换接口
 * @author DJH
 */
@Mapper
public interface ImgConverter {

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

    /**
     * 属性复制
     * @param merchantImage MerchantImage实体类
     * @return  MerchantImage实体类
     */
    MerchantImage imgCopy(MerchantImage merchantImage);
}
