package com.red.circle.other.app.convertor.material;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.props.PropsRedPacketSkin;
import com.red.circle.other.inner.model.cmd.material.PropsRedPacketSkinCmd;
import com.red.circle.other.inner.model.dto.material.PropsRedPacketSkinDTO;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2024/1/22
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface PropsRedPacketSkinAppConvertor {

  PropsRedPacketSkinDTO toPropsRedPacketSkinDTO(PropsRedPacketSkin skin);

  PropsRedPacketSkin toPropsRedPacketSkin(PropsRedPacketSkinCmd skinParam);
}
