package com.rdiot.yx485.bean;

import com.rdiot.yx485.http.entity.BaseReplyBean;

import java.util.List;

public class RoomDeviceDetailBean extends BaseReplyBean {
    /**
     * data : {"in_room":[{"record_id":"string","device_code":"string","name":"string","room_id":"string","type_id":"string","type_code":"string","type_name":"string","icon":"string"}],"out_room":[{"record_id":"string","device_code":"string","name":"string","room_id":"string","type_id":"string","type_code":"string","type_name":"string","icon":"string"}]}
     */

    public RoomDeviceList data;

    public static class RoomDeviceList {
        public List<RoomDevice> in_room;
        public List<RoomDevice> out_room;

        public static class RoomDevice {
            /**
             * record_id : string
             * device_code : string
             * name : string
             * room_id : string
             * type_id : string
             * type_code : string
             * type_name : string
             * icon : string
             */

            public String record_id;
            public String device_code;
            public String name;
            public String room_id;
            public String type_id;
            public String type_code;
            public String type_name;
            public String icon;
        }

        public static class OutRoomBean {
            /**
             * record_id : string
             * device_code : string
             * name : string
             * room_id : string
             * type_id : string
             * type_code : string
             * type_name : string
             * icon : string
             */

            public String record_id;
            public String device_code;
            public String name;
            public String room_id;
            public String type_id;
            public String type_code;
            public String type_name;
            public String icon;
        }
    }
}
