package com.sikey.wa04.business.infrastructure.convert;

import com.sikey.wa04.business.domain.entity.MapTrajectoryLog;
import com.sikey.wa04.business.infrastructure.dto.model.MapTrajectoryLogModel;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;

/**
 * @Author: qin
 * @Date: 2025/3/11
 * @Description: 定位日志记录
 */
@Mapper
public interface MapTrajectoryLogConvert {

    MapTrajectoryLogConvert INSTANCE = Mappers.getMapper(MapTrajectoryLogConvert.class);

    @Mapping(target = "createdAt", ignore = true)
    @Mapping(target = "updatedAt", ignore = true)
    @Mapping(target = "deletedAt", ignore = true)
    MapTrajectoryLogModel convert(MapTrajectoryLog mapTrajectoryLog);

}
