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


import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * https://console.bce.baidu.com/support/?_=1740575657628&timestamp=1740577581775#/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%2Finvoice&method=post
 * <p>
 * 火车票识别
 */
@NoArgsConstructor
@Data
public class BTrainTicketResp {


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

    @NoArgsConstructor
    @Data
    public static class WordsResultDTO {
        @JsonProperty("id_num")
        private String idNum;
        @JsonProperty("name")
        private String name;
        @JsonProperty("ticket_rates")
        private String ticketRates;
        @JsonProperty("destination_station")
        private String destinationStation;
        @JsonProperty("seat_category")
        private String seatCategory;
        @JsonProperty("sales_station")
        private String salesStation;
        @JsonProperty("ticket_num")
        private String ticketNum;
        @JsonProperty("seat_num")
        private String seatNum;
        @JsonProperty("time")
        private String time;
        @JsonProperty("date")
        private String date;
        @JsonProperty("serial_number")
        private String serialNumber;
        @JsonProperty("train_num")
        private String trainNum;
        @JsonProperty("starting_station")
        private String startingStation;
    }
}
