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

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

/**
 * 离开安全围栏告警通知APP端的消息
 *
 * @author yuzenghui
 * &#064;date  2025年08月11日 20:19:55
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ToString
public class LocationExitSafetyFenceNoticeAppMessage extends BasicNoticeMessage {

    /**
     * 消息内容
     */
    private LocationExitSafetyFenceNoticeAppMessage.LocationExitSafetyFenceNoticeAppContent content;

    @Data
    @Accessors(chain = true)
    public static class LocationExitSafetyFenceNoticeAppContent {
        /**
         * 围栏id
         */
        private Long fid;

        /**
         * 围栏名称
         */
        private String fenceName;

        /**
         * 围栏类型
         */
        private Integer fenceType;

        /**
         * 儿童名字
         */
        private String name;

        /**
         * 当前时间
         */
        private Long time;
    }
}
