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.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @description:
 * @author: sunzhaoning
 * @create: 2019-06-21 10:03
 * @version: V1.0
 **/
@Data
@ApiModel("发票打包下载实体类")
public class B2bInvoicePackage extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 4525265651071975642L;

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

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

    /**
     * 企业名
     */
    @ApiModelProperty(value = "企业名")
    private String companyName;

    /**
     * 发票开具月
     */
    @ApiModelProperty(value = "发票开具月")
    private String makeMonth;

    /**
     * 发票明细下载链接
     */
    @ApiModelProperty(value = "发票明细下载链接")
    private String csvUrl;

    /**
     * 发票打包pdf下载链接
     */
    @ApiModelProperty(value = "发票打包pdf下载链接")
    private String pdfUrl;

    /**
     * 明细下载状态
     */
    @ApiModelProperty(value = "明细下载状态")
    private Integer csvStatus;

    /**
     * 发票pdf打包状态
     */
    @ApiModelProperty(value = "发票pdf打包状态")
    private Integer pdfStatus;

    /**
     * 发票打包批次
     */
    @ApiModelProperty(value = "发票打包批次")
    private Integer type;
}
