package com.jwipc.sys.convert;

import com.jwipc.sys.dto.DealtWithTargetTypeDTO;
import com.jwipc.sys.entity.DealtWithTargetType;
import com.jwipc.sys.model.po.DealtWithTargetTypePO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author shenyang.ou
 * @date 2024/1/30 12:10
 * @desc
 */
@Mapper(componentModel = "spring")
public interface DealtTypeConvert {
    List<DealtWithTargetTypeDTO> po2DTOList(List<DealtWithTargetTypePO> dealtWithTargetTypePOS);

    DealtWithTargetTypeDTO entity2DTO(DealtWithTargetType dealtWithTargetType);

    DealtWithTargetType dto2Entity(DealtWithTargetTypeDTO param);
}
