package com.jkcredit.invoice.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jkcredit.invoice.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description:
 * @author: sunzhaoning
 * @create: 2019-06-19 16:04
 * @version: V1.0
 **/
@Data
@ApiModel(value = "已开票查询实体")
public class B2bInvoiceQuery extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -40568929592199065L;

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

    /**
     * 企业编号
     */
    @ApiModelProperty(value = "企业编号")
    private String companyNum;

    /**
     * 开始时间
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "开始时间")
    private String startInvoiceMakeTime;

    /**
     * 结束时间
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "结束时间")
    private String endInvoiceMakeTime;

    /**
     * etc卡号
     */
    @ApiModelProperty(value = "etc卡号")
    private String cardId;

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

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

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

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

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

    /**
     * 发票类型
     */
    @ApiModelProperty(value = "发票类型")
    private String invoiceType;

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

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

    /**
     * 发票板式文件 url
     */
    @ApiModelProperty(value = "发票板式文件url")
    private String invoiceHtmlUrl;

    /**
     * 发票金额
     */
    @ApiModelProperty(value = "发票金额")
    private Long amount;

    /**
     * 发票价税合计
     */
    @ApiModelProperty(value = "发票价税合计")
    private Long totalAmount;

    /**
     * 发票税额
     */
    @ApiModelProperty(value = "发票税额")
    private Long totalTaxAmount;

    /**
     * 税率
     */
    @ApiModelProperty(value = "税率")
    private String taxRate;

    /**
     * 入口收费站
     */
    @ApiModelProperty(value = "入口收费站")
    private String enStationName;

    /**
     * 出口收费站
     */
    @ApiModelProperty(value = "出口收费站")
    private String exStationName;

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

    /**
     * 交易金额
     */
    @ApiModelProperty(value = "交易金额")
    private Long fee;

    /**
     * 交易 Id
     */
    @ApiModelProperty(value = "交易 Id")
    private String tradeId;

    /**
     * 车型
     */
    @ApiModelProperty(value = "车型")
    private Integer vehicleType;
}
