package com.jkcredit.invoice.model.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jkcredit.invoice.common.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @description:
 * @author: sunzhaoning
 * @create: 2019-07-22 15:05
 * @version: V1.0
 **/
@Data
public class SearchInvoiceResultVo extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -6252880474223288690L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @Excel(name = "发票号码")
    @ApiModelProperty(value = "发票号码")
    private String invoiceNum;

    @Excel(name = "发票代码")
    @ApiModelProperty(value = "发票代码")
    private String invoiceCode;

    @Excel(name = "开票时间")
    @ApiModelProperty(value = "开票时间")
    private String invoiceMakeTime;

    @Excel(name = "下载地址")
    @ApiModelProperty(value = "发票url")
    private String invoiceUrl;

    @ApiModelProperty(value = "发票模板url")
    private String invoiceHtmlUrl;

    @Excel(name = "入口收费站")
    @ApiModelProperty(value = "入口收费站")
    private String enStation;

    @Excel(name = "出口收费站")
    @ApiModelProperty(value = "出口收费站")
    private String exStation;

    @Excel(name = "交易时间")
    @ApiModelProperty(value = "交易时间")
    private String exTime;

    @Excel(name = "交易金额")
    @ApiModelProperty(value = "交易金额")
    private BigDecimal fee;

    @Excel(name = "税额")
    @ApiModelProperty(value = "税额")
    private BigDecimal totalTaxAmount;

    @Excel(name = "车牌号")
    @ApiModelProperty(value = "车牌号")
    private String plateNum;

    /**
     * @Excel(name = "车型")
     */
    @ApiModelProperty(value = "车型")
    private int vehicleType;

    @Excel(name = "运单编号")
    @ApiModelProperty(value = "运单编号")
    private String waybillNum;

    /**
     *   @Excel(name = "运单状态")
     */
    @ApiModelProperty(value = "运单状态")
    private int waybillStatus;

    @Excel(name = "运单开始时间")
    @ApiModelProperty(value = "运单开始时间")
    private String waybillStartTime;

    @Excel(name = "运单结束时间")
    @ApiModelProperty(value = "运单结束时间")
    private String waybillEndTime;

    @Excel(name = "价税合计")
    @ApiModelProperty(value = "价税合计")
    private BigDecimal totalAmount;

    @Excel(name = "税率")
    @ApiModelProperty(value = "税率")
    private double taxRate;

    @ApiModelProperty(value = "发票种类")
    private String invoiceType;

    @Excel(name = "金额")
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

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

    @Excel(name = "销方税号")
    @ApiModelProperty(value = "销方税号")
    private String sellerTaxpayerCode;

    @Excel(name = "交易id")
    @ApiModelProperty(value = "交易id")
    private String transactionId;
}
