package com.zcloud.accident.command.convertor;

import com.zcloud.accident.dto.clientobject.AccidentCO;
import com.zcloud.accident.persistence.dataobject.AccidentDO;
import org.mapstruct.Mapper;

import java.util.List;



/**
* web-app
* @Author fangjiakai
* @Date 2025-10-29 14:28:32
*/
@Mapper(componentModel = "spring")
public interface AccidentCoConvertor {
    /**
    * @param accidentDOs
    * @return
    */
    List<AccidentCO> converDOsToCOs(List<AccidentDO> accidentDOs);

    AccidentCO converDOToCO(AccidentDO accidentDO);
}

