package com.rdiot.yx485.bean;



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

import java.util.List;

public class HomeListBean extends BaseReplyBean {
    public List<DataBean> data;

    public static class DataBean {
        /**
         * record_id : 1pw4ums2b1td5dxbu5y6k0d1w0fb9o28
         * name : test
         * province :
         * city : 新乡市
         * district :
         * address :
         * ad_code : 410700
         * gateway :
         * member : [{"record_id":"1pw4ums27dbd53orkrbzoe5110nvq7f5","home_id":"1pw4ums2b1td5dxbu5y6k0d1w0fb9o28","user_id":"1pw4ums27dbd53orkrbzoe5110nvq7f5","is_default":false,"user_name":"测试","remark":"","phone":"13361096420","photo":""}]
         * admin_id : 1pw4ums27dbd53orkrbzoe5110nvq7f5
         * admin_name : 测试
         * is_default : false
         * is_online : false
         * room : null
         * electric_id :
         * devices : null
         * creator :
         */

        public String record_id;
        public String name;
        public String province;
        public String city;
        public String district;
        public String address;
        public String ad_code;
        public String gateway;
        public String admin_id;
        public String admin_name;
        public boolean is_default;
        public boolean is_online;
        public Object room;
        public String electric_id;
        public Object devices;
        public String creator;
        public List<MemberBean> member;

        public static class MemberBean {
            /**
             * record_id : 1pw4ums27dbd53orkrbzoe5110nvq7f5
             * home_id : 1pw4ums2b1td5dxbu5y6k0d1w0fb9o28
             * user_id : 1pw4ums27dbd53orkrbzoe5110nvq7f5
             * is_default : false
             * user_name : 测试
             * remark :
             * phone : 13361096420
             * photo :
             */

            public String record_id;
            public String home_id;
            public String user_id;
            public boolean is_default;
            public String user_name;
            public String remark;
            public String phone;
            public String photo;
        }
    }
}
