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

import cn.superdesk.uniorder.common.enums.accounting.AccountingOrderDimCreateByEnum;
import cn.superdesk.uniorder.common.enums.accounting.AccountingOrderTypeDimEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 开票申请 - 提交创建(一键分票) 分票压后端做
 * @Author: linjinyu
 * @CreateDate: 2021/7/12 上午11:16
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021/7/12 上午11:16
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Data
public class InvoiceApplyFocusScoreOpApplyFormV2_1 implements Serializable {

	@ApiModelProperty(value = "对账单-Id")
	private Long    accountingOrderId;
	@ApiModelProperty(value = "对账单-编号")
	private String  accountingOrderSn;


	@ApiModelProperty("对账单-类型:1-一般订单;2-积分订单;")
	private Integer accountingOrderTypeDim = AccountingOrderTypeDimEnum.积分订单.getKey();
	@ApiModelProperty("对账单-创建维度:0-订单;1-商品;2-流水;")
	private Integer dimCreateBy            = AccountingOrderDimCreateByEnum.流水.getKey();

	@ApiModelProperty("订单来源 引用Enum CommonServiceNoEnum")
	private String serviceNo;
	@ApiModelProperty("操作来源 引用Enum CommonSourceFromEnum")
	private String sourceFrom;

	@ApiModelProperty("发票申请-发票信息-发票抬头Id ref表sys_enterprise_ext_invoice.id 企业信息扩展")
	private Long   sysEnterpriseExtInvoiceId;

	/**************************************** 一键分票 分支点 start ****************************************/

	@ApiModelProperty("发票申请-发票信息-发票种类Id ref表.invoice_type.id")
	private Long   invoiceTypeId;
	@ApiModelProperty("发票申请-发票信息-开票方式(目前-20220223-包含:线下开票(offLine)|深圳航信电子发票(szhtxxElectronicInvoice))")
	private String invoiceMode;

	/**************************************** 一键分票 分支点 start ****************************************/


	@ApiModelProperty("发票申请-备注")
	private String remark;




	@ApiModelProperty("界面上已选数据结构List<bean>")
	private List<InvoiceApplyOpCreateSelectedCreditParams> creditSelected;



}
