package com.jwipc.order.convert;

import com.jwipc.order.dto.AppointmentDayOffBaseDTO;
import com.jwipc.order.entity.AppointmentDayOff;
import org.mapstruct.Mapper;

import java.util.List;

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

    AppointmentDayOffBaseDTO entityToDTO(AppointmentDayOff appointmentDayOff);

    AppointmentDayOff dtoToEntity(AppointmentDayOffBaseDTO dayOffBaseDTO);
}
