package cn.freemud.entities.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class GetWxappAccessTokenResponseDto {

    /**
     * code : 100
     * message : success
     * ver : 1
     * result : {"templateId":"t4Es5AaRWN-aGvhkfbFLAwMush_f4PpsrM84-EkVp54","accessToken":null}
     */

    private String code;
    private String message;
    private String ver;
    private ResultBean result;

    @NoArgsConstructor
    @Data
    public static class ResultBean {
        /**
         * templateId : t4Es5AaRWN-aGvhkfbFLAwMush_f4PpsrM84-EkVp54
         * accessToken : 234324dd
         */

        private String templateId;
        private String accessToken;
    }
}
