package com.zcloud.domain.command.convertor;

import com.zcloud.domain.dto.ProjectTaskInfoAddCmd;
import com.zcloud.domain.dto.clientobject.ProjectTaskInfoCO;
import com.zcloud.domain.persistence.dataobject.ProjectTaskInfoDO;
import org.mapstruct.Mapper;

import java.util.List;


/**
 * web-app
 *
 * @Author zhaokai
 * @Date 2026-01-27 11:30:29
 */
@Mapper(componentModel = "spring")
public interface ProjectTaskInfoCoConvertor {
    /**
     * @param projectTaskInfoDOs
     * @return
     */
    List<ProjectTaskInfoCO> converDOsToCOs(List<ProjectTaskInfoDO> projectTaskInfoDOs);

    List<ProjectTaskInfoDO> converCmdsToDOs(List<ProjectTaskInfoAddCmd> projectTaskInfoAddCmdList);
}

