package com.kym.huapiaoer.model.request;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class InvoiceQrcodeRequest {

    private HeadInfo head;

    private List<DetailInfo> details;

    @Data
    @Accessors(chain = true)
    public static class HeadInfo {
        private String orderId;
        private String b2cshopid;
        private String remark;
        private String invoiceTypeCode;
    }

    @Data
    @Accessors(chain = true)
    public static class DetailInfo {
        private String goodscategory;
        private String taxcode;
        private String tax;
        private String goodsname;
        private Double price;
        private Double sl;
        private String attributes;
        private String unitname;
    }
}
