package com.heyu.api.baidu.response.financial;


import com.fasterxml.jackson.annotation.JsonProperty;
import com.heyu.api.baidu.response.BBaseResp;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * https://console.bce.baidu.com/support/?_=1740575657628&timestamp=1740577722254#/api?product=AI&project=%E6%96%87%E5%AD%97%E8%AF%86%E5%88%AB&parent=%E8%B4%A2%E5%8A%A1%E7%A5%A8%E6%8D%AEOCR&api=rest%2F2.0%2Focr%2Fv1%2Ftaxi_receipt&method=post
 *
 * 出租车票识别
 */
@NoArgsConstructor
@Data
public class BTaxiReceiptResp extends BBaseResp {


    @JsonProperty("log_id")
    private Long logId;
    @JsonProperty("words_result_num")
    private Integer wordsResultNum;
    @JsonProperty("words_result")
    private WordsResultDTO wordsResult;

    @NoArgsConstructor
    @Data
    public static class WordsResultDTO {
        @JsonProperty("Date")
        private String date;
        @JsonProperty("Fare")
        private String fare;
        @JsonProperty("Location")
        private String location;
        @JsonProperty("InvoiceCode")
        private String invoiceCode;
        @JsonProperty("InvoiceNum")
        private String invoiceNum;
        @JsonProperty("TaxiNum")
        private String taxiNum;
        @JsonProperty("Time")
        private String time;
        @JsonProperty("PickupTime")
        private String pickupTime;
        @JsonProperty("DropoffTime")
        private String dropoffTime;
        @JsonProperty("FuelOilSurcharge")
        private String fuelOilSurcharge;
        @JsonProperty("CallServiceSurcharge")
        private String callServiceSurcharge;
        @JsonProperty("TotalFare")
        private String totalFare;
        @JsonProperty("Province")
        private String province;
        @JsonProperty("City")
        private String city;
        @JsonProperty("PricePerkm")
        private String pricePerkm;
        @JsonProperty("Distance")
        private String distance;
    }
}
