package com.rv.home.rv.module.ui.main.home.bean;

import com.ruiwenliu.wrapper.base.BaseBean;

import java.io.Serializable;
import java.util.List;

/**
 * Created :Auser
 * Date: 2019/5/20.
 * Desc:门店列表实体类
 */

public class ShopListBean extends BaseBean {

    /**
     * status : 200
     * message : SUCCESS
     * data : {"totalCount":99,"data":[{"id":19,"name":"东城分公司","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":6},{"id":30,"name":"东城分公司1","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":6},{"id":31,"name":"东城分公司2","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":7},{"id":32,"name":"东城分公司3","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":8},{"id":33,"name":"东城分公司4","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":9},{"id":34,"name":"东城分公司5","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":10},{"id":35,"name":"东城分公司6","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":11},{"id":36,"name":"东城分公司7","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":12},{"id":37,"name":"东城分公司8","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":13},{"id":38,"name":"东城分公司9","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":14}]}
     * code : 1
     */

    private DataBeanX data;
    private int code;




    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBeanX {
        /**
         * totalCount : 99
         * data : [{"id":19,"name":"东城分公司","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":6},{"id":30,"name":"东城分公司1","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":6},{"id":31,"name":"东城分公司2","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":7},{"id":32,"name":"东城分公司3","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":8},{"id":33,"name":"东城分公司4","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":9},{"id":34,"name":"东城分公司5","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":10},{"id":35,"name":"东城分公司6","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":11},{"id":36,"name":"东城分公司7","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":12},{"id":37,"name":"东城分公司8","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":13},{"id":38,"name":"东城分公司9","branchType":1,"addrProvince":440000,"addrCity":441900,"addrTown":441903,"addrDetail":"盈锋广场B座142号","createTime":"2019-04-17 22:37:39","updateTime":"2019-05-20 13:36:27","leader":"程小青","leaderContactInfo":"13412341235","status":4,"latitude":23.043388,"longitude":113.782708,"zoneId":14}]
         */

        private int totalCount;
        private int totalPage;

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }

        private List<DataBean> data;

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable {
            /**
             * id : 19
             * name : 东城分公司
             * branchType : 1
             * addrProvince : 440000
             * addrCity : 441900
             * addrTown : 441903
             * addrDetail : 盈锋广场B座142号
             * createTime : 2019-04-17 22:37:39
             * updateTime : 2019-05-20 13:36:27
             * leader : 程小青
             * leaderContactInfo : 13412341235
             * status : 4
             * latitude : 23.043388
             * longitude : 113.782708
             * zoneId : 6
             */

            private int id;
            private String name;
            private int branchType;
            private int addrProvince;
            private int addrCity;
            private int addrTown;
            private String addrDetail;
            private String createTime;
            private String updateTime;
            private String leader;
            private String leaderContactInfo;
            private int status;
            private double latitude;
            private double longitude;
            private int zoneId;
            private String phone;

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            private Double distance;

            public Double getDistance() {
                return distance;
            }

            public void setDistance(Double distance) {
                this.distance = distance;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

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

            public int getBranchType() {
                return branchType;
            }

            public void setBranchType(int branchType) {
                this.branchType = branchType;
            }

            public int getAddrProvince() {
                return addrProvince;
            }

            public void setAddrProvince(int addrProvince) {
                this.addrProvince = addrProvince;
            }

            public int getAddrCity() {
                return addrCity;
            }

            public void setAddrCity(int addrCity) {
                this.addrCity = addrCity;
            }

            public int getAddrTown() {
                return addrTown;
            }

            public void setAddrTown(int addrTown) {
                this.addrTown = addrTown;
            }

            public String getAddrDetail() {
                return addrDetail;
            }

            public void setAddrDetail(String addrDetail) {
                this.addrDetail = addrDetail;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getLeader() {
                return leader;
            }

            public void setLeader(String leader) {
                this.leader = leader;
            }

            public String getLeaderContactInfo() {
                return leaderContactInfo;
            }

            public void setLeaderContactInfo(String leaderContactInfo) {
                this.leaderContactInfo = leaderContactInfo;
            }

            public int getStatus() {
                return status;
            }

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

            public double getLatitude() {
                return latitude;
            }

            public void setLatitude(double latitude) {
                this.latitude = latitude;
            }

            public double getLongitude() {
                return longitude;
            }

            public void setLongitude(double longitude) {
                this.longitude = longitude;
            }

            public int getZoneId() {
                return zoneId;
            }

            public void setZoneId(int zoneId) {
                this.zoneId = zoneId;
            }
        }
    }
}
