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

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.infra.database.rds.entity.user.user.UserCustomGiftRecord;
import com.red.circle.other.inner.model.dto.user.UserCustomGiftRecordDTO;
import org.mapstruct.Mapper;

/**
 * @author zongpubin on 2024/1/31
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface UserCustomGiftConvertor {

  UserCustomGiftRecordDTO toUserCustomGiftRecordDTO(UserCustomGiftRecord userCustomGiftRecord);

  UserCustomGiftRecord toUserCustomGiftRecord(UserCustomGiftRecordDTO cmd);
}
