package com.cool.store.dto.ocr;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author suzhuhong
 * @Date 2024/12/30 16:14
 * @Version 1.0
 */
@Data
public class InvoiceDTO {

    @ApiModelProperty(value = "发票号码")
    private String invoiceNumber;
    @ApiModelProperty(value = "发票日期")
    private String invoiceDate;
    @ApiModelProperty(value = "发票明细")
    private List<InvoiceDetailDTO> invoiceDetails;

    @Data
    class InvoiceDetailDTO{
        @ApiModelProperty(value = "发票明细名称")
        private String itemName;
        @ApiModelProperty(value = "发票明细金额")
        private String amount;
        @ApiModelProperty(value = "发票明细税额")
        private String tax;
    }

}
