package com.red.circle.other.app.inner.convertor.sys;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.gift.GiftPack;
import com.red.circle.other.inner.model.dto.sys.SysGiftPackDTO;
import org.mapstruct.Mapper;

/**
 * @author zongpubin on 2023/11/1
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface SysGiftPackInnerConvertor {

  SysGiftPackDTO toSysGiftPackDTO(GiftPack giftPack);

  GiftPack toGiftPack(SysGiftPackDTO sysGiftPackDTO);
}
