package com.jwipc.order.convert;

import com.jwipc.order.dto.AppointmentPurchaseBaseDTO;
import com.jwipc.order.dto.AppointmentPurchaseListDTO;
import com.jwipc.order.entity.AppointmentPurchase;
import com.jwipc.order.model.po.AppointmentPurchasePO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author wt
 * @version 1.0
 * @since 2024/3/6
 */
@Mapper(componentModel = "spring")
public interface AppointmentPurchaseConvert {
    List<AppointmentPurchaseListDTO> POToDTOList(List<AppointmentPurchasePO> poList);

    List<AppointmentPurchase> dtoToEntityList(List<AppointmentPurchaseListDTO> appointmentPurchases);
}
