package com.jkcredit.invoice.model.entity;

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;

@Data
public class SearchInvoiceData extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 2287864395092918879L;
    @TableId(type = IdType.AUTO)
    private Integer id;

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

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

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

    @ApiModelProperty(value = "发票url")
    private String invoiceUrl;

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

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

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

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

    @ApiModelProperty(value = "交易金额")
    private int fee;

    @ApiModelProperty(value = "税额")
    private int totalTaxAmount;

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

    @ApiModelProperty(value = "车型")
    private int vehicleType;

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

    @ApiModelProperty(value = "运单状态")
    private int waybillStatus;

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

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

    @ApiModelProperty(value = "价税合计")
    private int totalAmount;

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

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

    @ApiModelProperty(value = "金额")
    private int amount;

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

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

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

    @ApiModelProperty(value = "id")
    private Integer numInvoiceId;

    @ApiModelProperty(value = "运单号")
    private String num;

    @ApiModelProperty(value = "是否请求成功")
    private Integer isSuccess;

    @ApiModelProperty(value = "批次号")
    private String batchNumber;

    @ApiModelProperty(value = "批次id")
    private String batchId;
}
