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

import com.zcloud.personnel.positioning.dto.clientobject.AlarmRecordCO;
import com.zcloud.personnel.positioning.persistence.dataobject.AlarmRecordDO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * web-app
 *
 * @Author fangjiakai
 * @Date 2026-07-07
 */
@Mapper(componentModel = "spring")
public interface AlarmRecordCoConvertor {
    AlarmRecordCO converDOToCO(AlarmRecordDO alarmRecordDO);

    List<AlarmRecordCO> converDOsToCOs(List<AlarmRecordDO> alarmRecordDOs);
}
