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

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

import java.io.Serial;
import java.io.Serializable;

/**
 * 设备绑定状态变更的消息
 *
 * @author luoyangwei
 * @date 2024年10月16日16:48:11
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class DeviceBindStateChangeNoticeMessage extends BasicNoticeMessage implements Serializable {
    @Serial
    private static final long serialVersionUID = 6590025173330573187L;

    /**
     * 消息内容
     */
    private DeviceBindStateChangeNoticeContent content;

    @Data
    @Accessors(chain = true)
    public static class DeviceBindStateChangeNoticeContent {
        private Boolean isBind;
    }

}
