package com.junmp.jyzb.api.util;


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

import java.util.List;

@Data
public class WsCabinetReq {
    @JsonProperty("serialNum")
    private String serialNum;

    @JsonProperty("boxList")
    private List<Box> boxList;


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

        @JsonProperty("state")
        private int state;

        @JsonProperty("errorMsg")
        private String errorMsg;
        // getters and setters
    }
}