package com.jianshui.platform.dto.InvoiceAdd.species;

import com.jianshui.common.annotation.Excel;
import com.jianshui.platform.dto.InvoiceAdd.BillInfoDetailPDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;
import java.util.List;

/**
* @Author: kk
* @Description: 数电普通发票
* @DateTime: 2023/6/7 10:42
* @Params: 
* @Return 
*/

@Data
@ApiModel("单据录入")
public class BillInfoSDGenInvoicePDTO {

    @NotEmpty
    @ApiModelProperty(value = "购方名称")
    private String buyerName;

    @NotEmpty
    @ApiModelProperty(value = "购方税号")
    private String buyerTaxnum;

    @ApiModelProperty(value = "购方地址")
    private String buyerAddress;

    @ApiModelProperty(value = "购方电话")
    private String buyerTelephone;

    @ApiModelProperty(value = "开户行")
    private String buyerBank;

    @ApiModelProperty(value = "购买方开户行账号")
    private String buyerAccount;

    @ApiModelProperty(value = "购方邮箱")
    private String buyerEmail;


    @ApiModelProperty(value = "销方名称")
    private String sellerName;

    @ApiModelProperty(value = "销方税号")
    private String sellerTaxnum;

    @ApiModelProperty(value = "销方地址")
    private String sellerAddress;

    @ApiModelProperty(value = "销方电话")
    private String sellerTelephone;

    @ApiModelProperty(value = "销方开户行名称")
    private String sellerBank;

    @ApiModelProperty(value = "销方开户行账户")
    private String sellerAccount;


    @ApiModelProperty(value = "备注")
    private String message;

    @ApiModelProperty(value = "价税合计")
    private String jshj;

    @ApiModelProperty(value = "金额（不含税）")
    private BigDecimal taxfreeamt;

    @ApiModelProperty(value = "税额")
    private BigDecimal tax;

    @ApiModelProperty(value = "明细")
    List<BillInfoDetailSDGenInvoicePDTO> billInfoDetailPDTOList;


}
