package com.zcloud.domain.command.convertor;

import com.zcloud.domain.dto.clientobject.ProjectTaskCO;
import com.zcloud.domain.dto.clientobject.ProjectTaskDetailsCO;
import com.zcloud.domain.persistence.dataobject.ProjectTaskDO;
import org.mapstruct.Mapper;

import java.util.List;


/**
 * web-app
 *
 * @Author zhaokai
 * @Date 2026-01-29 11:28:41
 */
@Mapper(componentModel = "spring")
public interface ProjectTaskCoConvertor {
    /**
     * @param projectTaskDOs
     * @return
     */
    List<ProjectTaskCO> converDOsToCOs(List<ProjectTaskDO> projectTaskDOs);

    ProjectTaskDetailsCO converDOToDetailsCO(ProjectTaskDO projectTaskDO);
}

