package com.adx.tracking.baidu.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** 对应 Go baidu.ConversionResponse */
public class ConversionResponse {
    @JsonProperty("baseResponse") private BaseResponse baseResponse;
    @JsonProperty("pageSize")     private int pageSize;
    @JsonProperty("data")         private List<PaymentInfo> data;

    public BaseResponse getBaseResponse() { return baseResponse; }
    public void setBaseResponse(BaseResponse v) { this.baseResponse = v; }
    public int getPageSize() { return pageSize; }
    public void setPageSize(int v) { this.pageSize = v; }
    public List<PaymentInfo> getData() { return data; }
    public void setData(List<PaymentInfo> v) { this.data = v; }

    public static class BaseResponse {
        @JsonProperty("code") private int code;
        @JsonProperty("msg")  private String msg;
        public int getCode() { return code; }
        public void setCode(int v) { this.code = v; }
        public String getMsg() { return msg; }
        public void setMsg(String v) { this.msg = v; }
    }
}
