package com.sikey.wa04.common.dto.message;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class LocationPointChangeNoticeMessage extends BasicNoticeMessage {
    private LocationPointChangeNoticeMessageContent content;

    @Data
    @Accessors(chain = true)
    public static class LocationPointChangeNoticeMessageContent {
        /**
         * 上报小孩ID
         */
        private String cid;
        /**
         * 上报设备ID
         */
        private String did;
        /**
         * 经度
         */
        private String lon;
        /**
         * 纬度
         */
        private String lat;
        /**
         * 精度
         */
        private Integer radius;
        /**
         * 定位的时间戳
         */
        private Integer positionTime;
        /**
         * 追踪ID
         */
        private String traceId;
    }
}
