package com.zhangmeng.model.dto.baidu;

import java.util.List;

/**
 * @author zhangmeng
 * @version 1.0
 * @date 2021年6月11日15:26:20
 */
public class BaiduAreaSearch {


    /**
     * status : 0
     * message : ok
     * result_type : poi_type
     * results : [{"name":"中国工商银行(北京东华门支行)","location":{"lat":39.921373,"lng":116.411402},"address":"东华门大街20号","province":"北京市","city":"北京市","area":"东城区","street_id":"dbf4d6eee23caa546ea3cc87","telephone":"(010)65125921","detail":1,"uid":"dbf4d6eee23caa546ea3cc87"},{"name":"北京银行(前门支行)","location":{"lat":39.906018,"lng":116.401304},"address":"北京市西城区西大街正阳市场1号楼底商","province":"北京市","city":"北京市","area":"西城区","street_id":"be2d09340d0b5c0035b06c31","telephone":"(010)63048577","detail":1,"uid":"be2d09340d0b5c0035b06c31"},{"name":"中国工商银行(北京正阳门支行)","location":{"lat":39.906506,"lng":116.409438},"address":"北京市东城区前门东大街16号楼","province":"北京市","city":"北京市","area":"东城区","street_id":"befdb2928aad85e186154199","telephone":"(010)67016132,(010)67015791","detail":1,"uid":"befdb2928aad85e186154199"},{"name":"中国工商银行24小时自助银行(北京正阳门支行)","location":{"lat":39.906503,"lng":116.409473},"address":"前门东大街16号","province":"北京市","city":"北京市","area":"东城区","street_id":"e6c265d1a03a8955d813189e","detail":1,"uid":"e6c265d1a03a8955d813189e"},{"name":"中国工商银行(北京正义路支行)","location":{"lat":39.908992,"lng":116.414068},"address":"北京市东城区东交民巷甲23号","province":"北京市","city":"北京市","area":"东城区","street_id":"5e53af1accd7a25c4151c026","telephone":"(010)65239839","detail":1,"uid":"5e53af1accd7a25c4151c026"},{"name":"中国银行ATM(西交民巷)","location":{"lat":39.908251,"lng":116.400296},"address":"西交民巷甲19号","province":"北京市","city":"北京市","area":"西城区","street_id":"90f3c114c3f7fceb25d2bb1e","detail":1,"uid":"90f3c114c3f7fceb25d2bb1e"},{"name":"北京银行24小时自助银行(前门支行)","location":{"lat":39.905988,"lng":116.401215},"address":"西城区前门西大街正阳市场1号","province":"北京市","city":"北京市","area":"西城区","street_id":"08f1f1f5a23b39ca88db73e6","detail":1,"uid":"08f1f1f5a23b39ca88db73e6"},{"name":"中国工商银行离行式自助服务区(北京分行珠市口支行前门西大街)","location":{"lat":39.907248,"lng":116.396824},"address":"前门西大街41号","province":"北京市","city":"北京市","area":"西城区","street_id":"7648c1b08a9301ba3904b15c","detail":1,"uid":"7648c1b08a9301ba3904b15c"},{"name":"中国工商银行离行式自助银行(北京分行珠市口支行东交民巷)","location":{"lat":39.909139,"lng":116.413991},"address":"东交民巷23","province":"北京市","city":"北京市","area":"东城区","street_id":"e3f3cde22f87792845572695","detail":1,"uid":"e3f3cde22f87792845572695"},{"name":"中信银行ATM(北京饭店)","location":{"lat":39.915246,"lng":116.41666},"address":"东长安街33号北京饭店A座1层","province":"北京市","city":"北京市","area":"东城区","street_id":"7c2b389c3c2960dbae0457cf","detail":1,"uid":"7c2b389c3c2960dbae0457cf"}]
     */

    private int status;
    private String message;
    private String result_type;
    private List<ResultsBean> results;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getResult_type() {
        return result_type;
    }

    public void setResult_type(String result_type) {
        this.result_type = result_type;
    }

    public List<ResultsBean> getResults() {
        return results;
    }

    public void setResults(List<ResultsBean> results) {
        this.results = results;
    }

    public static class ResultsBean {
        /**
         * name : 中国工商银行(北京东华门支行)
         * location : {"lat":39.921373,"lng":116.411402}
         * address : 东华门大街20号
         * province : 北京市
         * city : 北京市
         * area : 东城区
         * street_id : dbf4d6eee23caa546ea3cc87
         * telephone : (010)65125921
         * detail : 1
         * uid : dbf4d6eee23caa546ea3cc87
         */

        private String name;
        private LocationBean location;
        private String address;
        private String province;
        private String city;
        private String area;
        private String street_id;
        private String telephone;
        private int detail;
        private String uid;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public LocationBean getLocation() {
            return location;
        }

        public void setLocation(LocationBean location) {
            this.location = location;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getStreet_id() {
            return street_id;
        }

        public void setStreet_id(String street_id) {
            this.street_id = street_id;
        }

        public String getTelephone() {
            return telephone;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public int getDetail() {
            return detail;
        }

        public void setDetail(int detail) {
            this.detail = detail;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public static class LocationBean {
            /**
             * lat : 39.921373
             * lng : 116.411402
             */

            private double lat;
            private double lng;

            public double getLat() {
                return lat;
            }

            public void setLat(double lat) {
                this.lat = lat;
            }

            public double getLng() {
                return lng;
            }

            public void setLng(double lng) {
                this.lng = lng;
            }
        }
    }
}
