package com.dxhy.core.job.entity;

import com.dxhy.core.job.pojo.BasePojo;
import lombok.Data;

import java.util.Date;

/**
 * @author user
 */
@Data
public class InvoiceSelectInfo extends BasePojo {

    private static final long serialVersionUID = 9140037500021701297L;

    private String invoiceCode;

    private String invoiceNo;

    /**
     * 当前税款所属期
     */
    private String currentTaxPeriod;
    /**
     * 当前税款所属期勾选截止日
     */
    private String legalizeEndDate;
    /**
     * 当前税款所属期可勾选发票开票日期范围起
     */
    private String legalizeInvoiceDateBegin;
    /**
     * 当前税款所属期可勾选发票开票日期范围止
     */
    private String legalizeInvoiceDateEnd;

    private String invoiceType;

    private String invoiceDate;

    private String buyerName;

    private String buyerTaxNo;

    private String salerName;

    private String salerTaxNo;
    /**
     * 发票金额
     */
    private String invoiceAmount;

    /**
     * 发票税额
     */
    private String taxAmount;

    /**
     * 发票状态 0-正常 1-失控 2-作废 3-红冲 4-异常
     */
    private String invoiceStatus;

    /**
     * 认证状态 0-未认证 1-已认证
     */
    private String legalizeState;

    /**
     * 认证时间
     */
    private String legalizeDate;

    /**
     * 认证归属期
     */
    private String legalizeBlongDate;
    /**
     * 认证方式 1-勾选认证 2-扫描认证
     */
    private String legalizeType;
    /**
     * 是否代办退税(0：否 1：是)
     */
    private String sfdbts;
    /**
     * 认证类型 0-未抵扣1-抵扣 2-退税 3-代理退税4-不抵扣
     */
    private String rzlx;
    /**
     * 校验码
     */
    private String checkCode;

    private String uuid;

    private Date qsDate;
    private String qsStatus;
    private String qsType;

    /**
     * 认证处理状态 0-未认证 1-已勾选未确认，2已确认 3 已发送认证 4 认证成功 5 认证失败
     */
    private String authStatus;

    /**
     * 状态最后修改时间
     * 
     * @author 陈刚扬
     * @date 2020/10/30
     * @param null
     * @return
     */
    private String zttime;
    /**
     * 信息来源 0扫描认证 1系统推送 2出口转内销
     */
    private String xxly;
    /**
     * 有效税额
     * 
     * @author 陈刚扬
     * @date 2020/10/30
     * @param null
     * @return
     */
    private String yxse;
    /**
     * 逾期可勾选标志 0默认值，1可勾选逾期
     */
    private String yqkgxbz;
    /**
     * 管理状态 0正常1异常
     */
    private String glzt;
    /**
     * 异常类型 0发票状态异常1申报用途变更（抵扣变代办退税）2管理状态异常、注：发票状态为正常时为空
     */
    private String yclx;

    /**
     * 出口转内销证明编号
     */
    private String toDivertCode;
    /**
     * 抵扣税额
     */
    private String dkse;
    /**
     * 不抵扣原因
     */
    private String bdkMessage;
    /**
     * 全电发票号码
     */
    private String electronicInvoiceNo;
    /**
     * 发票来源 0-税控发票 1-全电发票
     */
    private String invoiceSources;

    /**
     * 红字锁定标志
     * Y--已锁定
     * N--未锁定
     **/
    private String redLock;



    @Override
    public String toString() {
        return "InvoiceSelectInfo [invoiceCode=" + invoiceCode + ", invoiceNo=" + invoiceNo + ", currentTaxPeriod="
            + currentTaxPeriod + ", legalizeEndDate=" + legalizeEndDate + ", legalizeInvoiceDateBegin="
            + legalizeInvoiceDateBegin + ", legalizeInvoiceDateEnd=" + legalizeInvoiceDateEnd + ", invoiceType="
            + invoiceType + ", invoiceDate=" + invoiceDate + ", buyerTaxNo=" + buyerTaxNo + ", salerName=" + salerName
            + ", salerTaxNo=" + salerTaxNo + ", invoiceAmount=" + invoiceAmount + ", taxAmount=" + taxAmount
            + ", invoiceStatus=" + invoiceStatus + ", legalizeState=" + legalizeState + ", legalizeDate=" + legalizeDate
            + ", legalizeBlongDate=" + legalizeBlongDate + ", sfdbts=" + sfdbts + ", rzlx=" + rzlx + ", checkCode="
            + checkCode +",dkse"+ dkse+"bdkMessage"+bdkMessage+"invoiceSources"+invoiceSources+"]";
    }

}
