package com.red.circle.console.app.convertor.family;

import com.red.circle.console.app.dto.clienobject.family.FamilyBaseInfoCO;
import com.red.circle.console.app.dto.clienobject.family.FamilyMemberCO;
import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.inner.model.dto.famliy.FamilyBaseInfoDTO;
import com.red.circle.other.inner.model.dto.famliy.FamilyMemberDTO;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2023/5/12
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface FamilyAppConvertor {

  FamilyBaseInfoCO toFamilyBaseInfoCO(FamilyBaseInfoDTO dto);

  FamilyMemberCO toFamilyMemberCO(FamilyMemberDTO familyMemberDTO);
}

