首页>代码>SpringBoot整合微信模板消息实现每日给女友发送早安问候语和天气预报>/wechat-push/src/main/java/com/cxs/client/resp/BaiduWeatherResp.java
package com.cxs.client.resp;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Project: wechat-push
 * @Author: cxs2014501@163.com
 * @Create: 2023/9/7 10:36
 * @Description:
 **/
@NoArgsConstructor
@Data
public class BaiduWeatherResp {
    /**
     * status
     */
    private Integer status;
    /**
     * result
     */
    private ResultVO result;
    /**
     * message
     */
    private String message;

    /**
     * ResultVO
     */
    @NoArgsConstructor
    @Data
    public static class ResultVO {
        /**
         * location
         */
        private LocationVO location;
        /**
         * now
         */
        private NowVO now;
        /**
         * forecasts
         */
        private List<ForecastsVO> forecasts;

        /**
         * LocationVO
         */
        @NoArgsConstructor
        @Data
        public static class LocationVO {
            /**
             * country
             */
            private String country;
            /**
             * province
             */
            private String province;
            /**
             * city
             */
            private String city;
            /**
             * name
             */
            private String name;
            /**
             * id
             */
            private String id;
        }

        /**
         * NowVO
         */
        @NoArgsConstructor
        @Data
        public static class NowVO {
            /**
             * text
             */
            private String text;
            /**
             * temp
             */
            private Integer temp;
            /**
             * feels_like
             */
            private Integer feels_like;
            /**
             * rh
             */
            private Integer rh;
            /**
             * wind_class
             */
            private String wind_class;
            /**
             * wind_dir
             */
            private String wind_dir;
            /**
             * uptime
             */
            private String uptime;
        }

        /**
         * ForecastsVO
         */
        @NoArgsConstructor
        @Data
        public static class ForecastsVO {
            /**
             * text_day
             */
            private String text_day;
            /**
             * text_night
             */
            private String text_night;
            /**
             * high
             */
            private Integer high;
            /**
             * low
             */
            private Integer low;
            /**
             * wc_day
             */
            private String wc_day;
            /**
             * wd_day
             */
            private String wd_day;
            /**
             * wc_night
             */
            private String wc_night;
            /**
             * wd_night
             */
            private String wd_night;
            /**
             * date
             */
            private String date;
            /**
             * week
             */
            private String week;
        }
    }
}
最近下载更多
qiheideguang  LV18 1月22日
goccgoccgocc  LV4 2024年5月23日
小黄同学  LV8 2024年5月21日
2775645521  LV7 2024年4月23日
denliv_hui  LV13 2024年3月31日
zhujunnan  LV12 2024年3月8日
1289755  LV3 2023年11月25日
栈道小生  LV10 2023年11月16日
txf123  LV6 2023年11月14日
zhaixunfei  LV8 2023年11月9日
最近浏览更多
vincemokea  LV4 4月24日
billy-zuidaima  LV1 3月24日
PLVAE_514  LV2 3月7日
usb001  LV8 2月26日
陈小灏  LV18 2月25日
qiheideguang  LV18 1月22日
阿时23428  LV15 1月18日
miaoshi  LV16 1月17日
pengkui  LV14 1月9日
wupujian  LV17 1月5日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友