package cn.superdesk.uniorder.dto.param.invoice.customer;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description: op重新开票 积分结算2.1 已适配
 * @Author: linjinyu
 * @CreateDate: 2022/3/7 上午10:22
 * @UpdateUser: linjinyu
 * @UpdateDate: 2022/3/7 上午10:22
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Data
public class InvoiceApplyCustomerOpAgainInvoiceApplyForm implements Serializable {

	@ApiModelProperty("关键信息-开票申请Id")
	private Long   invoiceApplyId;
	@ApiModelProperty("关键信息-开票申请编号")
	private String invoiceApplySn;
	@ApiModelProperty("关键信息-原因")
	private String reason;

	/*
	【后端部分完成-20220307-对映文档-2. 积分结算-2.5 发票申请管理-拆分-2.5.8-2.5.9-部分整理-20220307】
	https://www.tapd.cn/33003868/prong/stories/view/1133003868001004038
	(6)发票号:
	①取该开票申请的发票号内容;
	②若多个发票号,以","隔开显示;
	③若当前行显示不全时,依次靠左换行显示;
	③若无发票号,即显示"-",此种情况开票申请为"待领票"&开票方式为"线下开票"时出现;
	(7)是否红冲:
	①取该发票在"金税盘发票"列表是否红冲的状态"是/否";
	②若无数据",显示为"-";
	(8)原/红冲发票号:
	①取该发票在"金税盘发票"列表是红冲发票号字段内容;
	②若无数据,显示为"-";
	*/

	@ApiModelProperty("关键信息-税局发票号(蓝)")
	private String  invoiceNumberBlue;
	@ApiModelProperty("关键信息-是否红冲:0-否;1-是;")
	private Integer isRedWriteOff;
	@ApiModelProperty("关键信息-税局发票号(红)")
	private String  invoiceNumberRedWriteOff;

	@ApiModelProperty("回显信息-发票种类Id ref表.invoice_type.id")
	private Long   invoiceTypeId;
	@ApiModelProperty("回显信息-开票方式(目前-20220223-包含:线下开票(offLine)|深圳航信电子发票(szhtxxElectronicInvoice)) 积分结算2.1 适配")
	private String invoiceMode;

	@ApiModelProperty("回显信息-对账单Id")
	private Long   accountingOrderId;
	@ApiModelProperty("回显信息-对账单编号")
	private String accountingOrderSn;


	@ApiModelProperty("回显信息-外部-企业Id")
	private Long   outVirtId;
	@ApiModelProperty("回显信息-外部-企业名称")
	private String outVirtName;
}
