package com.rdiot.yx485.bean;

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

import java.util.List;

public class CityBean extends BaseReplyBean {
    /**
     * data : {"list":[{"record_id":"11","parent_id":"1","name":"北京市","level":"2"},{"record_id":"12","parent_id":"1","name":"天津市","level":"2"},{"record_id":"13","parent_id":"1","name":"河北省","level":"2"},{"record_id":"14","parent_id":"1","name":"山西省","level":"2"},{"record_id":"15","parent_id":"1","name":"内蒙古自治区","level":"2"},{"record_id":"21","parent_id":"1","name":"辽宁省","level":"2"},{"record_id":"22","parent_id":"1","name":"吉林省","level":"2"},{"record_id":"23","parent_id":"1","name":"黑龙江省","level":"2"},{"record_id":"31","parent_id":"1","name":"上海市","level":"2"},{"record_id":"32","parent_id":"1","name":"江苏省","level":"2"},{"record_id":"33","parent_id":"1","name":"浙江省","level":"2"},{"record_id":"34","parent_id":"1","name":"安徽省","level":"2"},{"record_id":"35","parent_id":"1","name":"福建省","level":"2"},{"record_id":"36","parent_id":"1","name":"江西省","level":"2"},{"record_id":"37","parent_id":"1","name":"山东省","level":"2"},{"record_id":"41","parent_id":"1","name":"河南省","level":"2"},{"record_id":"42","parent_id":"1","name":"湖北省","level":"2"},{"record_id":"43","parent_id":"1","name":"湖南省","level":"2"},{"record_id":"44","parent_id":"1","name":"广东省","level":"2"},{"record_id":"45","parent_id":"1","name":"广西壮族自治区","level":"2"},{"record_id":"46","parent_id":"1","name":"海南省","level":"2"},{"record_id":"50","parent_id":"1","name":"重庆市","level":"2"},{"record_id":"51","parent_id":"1","name":"四川省","level":"2"},{"record_id":"52","parent_id":"1","name":"贵州省","level":"2"},{"record_id":"53","parent_id":"1","name":"云南省","level":"2"},{"record_id":"54","parent_id":"1","name":"西藏自治区","level":"2"},{"record_id":"61","parent_id":"1","name":"陕西省","level":"2"},{"record_id":"62","parent_id":"1","name":"甘肃省","level":"2"},{"record_id":"63","parent_id":"1","name":"青海省","level":"2"},{"record_id":"64","parent_id":"1","name":"宁夏回族自治区","level":"2"},{"record_id":"65","parent_id":"1","name":"新疆维吾尔自治区","level":"2"}],"pagination":{"total":31,"current":1,"pageSize":50}}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * list : [{"record_id":"11","parent_id":"1","name":"北京市","level":"2"},{"record_id":"12","parent_id":"1","name":"天津市","level":"2"},{"record_id":"13","parent_id":"1","name":"河北省","level":"2"},{"record_id":"14","parent_id":"1","name":"山西省","level":"2"},{"record_id":"15","parent_id":"1","name":"内蒙古自治区","level":"2"},{"record_id":"21","parent_id":"1","name":"辽宁省","level":"2"},{"record_id":"22","parent_id":"1","name":"吉林省","level":"2"},{"record_id":"23","parent_id":"1","name":"黑龙江省","level":"2"},{"record_id":"31","parent_id":"1","name":"上海市","level":"2"},{"record_id":"32","parent_id":"1","name":"江苏省","level":"2"},{"record_id":"33","parent_id":"1","name":"浙江省","level":"2"},{"record_id":"34","parent_id":"1","name":"安徽省","level":"2"},{"record_id":"35","parent_id":"1","name":"福建省","level":"2"},{"record_id":"36","parent_id":"1","name":"江西省","level":"2"},{"record_id":"37","parent_id":"1","name":"山东省","level":"2"},{"record_id":"41","parent_id":"1","name":"河南省","level":"2"},{"record_id":"42","parent_id":"1","name":"湖北省","level":"2"},{"record_id":"43","parent_id":"1","name":"湖南省","level":"2"},{"record_id":"44","parent_id":"1","name":"广东省","level":"2"},{"record_id":"45","parent_id":"1","name":"广西壮族自治区","level":"2"},{"record_id":"46","parent_id":"1","name":"海南省","level":"2"},{"record_id":"50","parent_id":"1","name":"重庆市","level":"2"},{"record_id":"51","parent_id":"1","name":"四川省","level":"2"},{"record_id":"52","parent_id":"1","name":"贵州省","level":"2"},{"record_id":"53","parent_id":"1","name":"云南省","level":"2"},{"record_id":"54","parent_id":"1","name":"西藏自治区","level":"2"},{"record_id":"61","parent_id":"1","name":"陕西省","level":"2"},{"record_id":"62","parent_id":"1","name":"甘肃省","level":"2"},{"record_id":"63","parent_id":"1","name":"青海省","level":"2"},{"record_id":"64","parent_id":"1","name":"宁夏回族自治区","level":"2"},{"record_id":"65","parent_id":"1","name":"新疆维吾尔自治区","level":"2"}]
         * pagination : {"total":31,"current":1,"pageSize":50}
         */

        public PaginationBean pagination;
        public List<ListBean> list;

        public static class PaginationBean {
            /**
             * total : 31
             * current : 1
             * pageSize : 50
             */

            public int total;
            public int current;
            public int pageSize;
        }

        public static class ListBean {
            /**
             * record_id : 11
             * parent_id : 1
             * name : 北京市
             * level : 2
             */

            public String record_id;
            public String parent_id;
            public String name;
            public String level;
            public List<ListBean> children;
        }
    }
}
