package com.junmp.jyzb.api.util;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;


@Data
public class WsWarehouseReq {
    @JsonProperty("deviceId")
    private String deviceId;
    @JsonProperty("orgId")
    private String orgId;
    @JsonProperty("onlineState")
    private String onlineState;
    @JsonProperty("warehouseId")
    private String warehouseId;

    @JsonProperty("warehouseDevs")
    private List<warehouseDevs> warehouseDevs;


    @Data
    // 内部类表示box
    public static class warehouseDevs {
        @JsonProperty("devId")
        private String devId;

        @JsonProperty("devIP")
        private String devIP;

        @JsonProperty("devName")
        private String devName;
        @JsonProperty("devState")
        private String devState;
        @JsonProperty("devType")
        private String devType;
    }
}