package com.heyu.api.resp.financial;

import com.heyu.api.data.dto.BaseResp;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
public class InvoiceResp extends BaseResp {


    private String city;                    //市
    private String invoiceNum;              // 发票号码
    private String sellerName;              // 	销售方名称
    private String industrySort;            //	行业分类
    private String province;                //	省
    private List<CommodityDTO> commodityAmount;               // 商品金额
    private String invoiceDate;                 //开票日期
    private String purchaserName;           //购买方名称
    private List<?> commodityNum;           //商品数量
    private String invoiceCode;         // 发票代码
    private List<?> commodityUnit;      //商品单位
    private String sheetNum;            //联次
    private String purchaserRegisterNum;                //购买方纳税人识别号
    private String time;                          //时间
    private List<?> commodityPrice;     //	商品单价
    private String amountInFiguers;     //合计金额小写
    private String amountInWords;       //合计金额大写
    private String checkCode;           //校验码
    private String totalTax;            //合计税额
    private String invoiceType;         // 发票类型
    private String sellerRegisterNum;       //	销售方纳税人识别号
    private List<CommodityDTO> commodityName;           //	商品名称

    @NoArgsConstructor
    @Data
    public static class CommodityDTO {
        private String word;                        //内容
        private String row;                     //行号
    }
}
