package com.jwipc.order.convert;

import com.jwipc.order.dto.AppointmentRecordListDTO;
import com.jwipc.order.dto.AppointmentShowMainDTO;
import com.jwipc.order.dto.AppointmentSupplierDTO;
import com.jwipc.order.dto.DeliveryDetailRecordDTO;
import com.jwipc.order.model.po.AppointmentRecordPO;
import com.jwipc.order.model.po.AppointmentShowMainPO;
import com.jwipc.order.model.po.DeliveryDetailRecordPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author wt
 * @version 1.0
 * @since 2024/3/5
 */
@Mapper(componentModel = "spring")
public interface AppointmentRecordConvert {

    List<AppointmentRecordListDTO> po2PageListDTO(List<AppointmentRecordPO> poList);

    AppointmentShowMainDTO poToDtoSHowMainList(AppointmentShowMainPO showMainPO);

    List<DeliveryDetailRecordDTO> poDetail2PageListDTO(List<DeliveryDetailRecordPO> poList);
}
