package com.zcloud.personnel.positioning.command.convertor;

import com.zcloud.personnel.positioning.dto.clientobject.AlarmRecordTargetCO;
import com.zcloud.personnel.positioning.persistence.dataobject.AlarmRecordTargetDO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * web-app
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
@Mapper(componentModel = "spring")
public interface AlarmRecordTargetCoConvertor {
    AlarmRecordTargetCO converDOToCO(AlarmRecordTargetDO alarmRecordTargetDO);

    List<AlarmRecordTargetCO> converDOsToCOs(List<AlarmRecordTargetDO> alarmRecordTargetDOs);
}
