package com.sikey.wa04.business.infrastructure.dto.response.trajectory;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * Location trajectory response
 */
@Data
@Accessors(chain = true)
public class LocationTrajectoryResponse {
    private List<TrajectoryResult> results;

    @Data
    @Accessors(chain = true)
    @ToString
    public static class TrajectoryResult {
        /**
         * 经度
         */
        private String longitude;
        /**
         * 纬度
         */
        private String latitude;
        /**
         * 定位精度
         */
        private Integer radius;

        /**
         * 定位时间
         */
        private Long positionTime;

        /**
         * 定位类型
         *
         * @see com.sikey.wa04.common.enums.LocationType
         */
        private Integer pointType;
    }

}


