package com.red.circle.other.infra.convertor.user;

import com.red.circle.other.domain.model.cp.CpLoveLetterDomain;
import com.red.circle.other.domain.model.cp.loveletter.LoveLetterDetailCO;
import com.red.circle.other.domain.model.cp.loveletter.LoveLetterWallCO;
import org.mapstruct.Mapper;

/**
 * CP告白信封转换器
 */
@Mapper(componentModel = "spring")
public interface CpLoveLetterConvertor {

    LoveLetterWallCO toWallCO(CpLoveLetterDomain letter);

    LoveLetterDetailCO toDetailCO(CpLoveLetterDomain letter);
}
