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

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

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

/**
 * @Description: Java类作用描述
 * @Author: linjinyu
 * @CreateDate: 2021/12/6 上午11:42
 * @UpdateUser: linjinyu
 * @UpdateDate: 2021/12/6 上午11:42
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
public class InvoiceApplySupplierOpApplyForm implements Serializable {

	private static final long serialVersionUID = -2422792777270223622L;

	//
//	private Long id;

	@ApiModelProperty("所属对账单Id-供应商结算2.0")
	private Long    accountingOrderId;
	@ApiModelProperty("所属对账单编号-供应商结算2.0")
	private String  accountingOrderSn;
	@ApiModelProperty("所属对账单创建维度-默认为 一般订单(侨城汇实际上是积分订单)-供应商结算2.0")
	private Integer accountingOrderType = AccountingOrderTypeDimEnum.一般订单.getKey();
	@ApiModelProperty(value = "所属对账单对账单 创建维度:0-订单;1-商品;2-流水;")
	private Integer dimCreateBy         = AccountingOrderDimCreateByEnum.商品.getKey();


	@ApiModelProperty("发票申请-发票信息-发票抬头 ")
	private String  invoiceTitle;
	@ApiModelProperty("发票申请-发票信息-发票种类(关联表:表.invoice_type):1-增值税普票;2-增值税专票;")
	private Integer invoiceType;

//	@ApiModelProperty("供应商信息扩展发票信息.id sysSupplierExtInvoiceId 供应商结算2.0 sysSupplierExtInvoiceId sys_supplier_ext_invoice.id")
//	private Long sysSupplierExtInvoiceId;

	@ApiModelProperty("平台方扩展发票信息.id invoiceBankInfo.id sysPlatformExtInvoiceId 供应商结算2.0")
	private Long sysPlatformExtInvoiceId;

	private String remark;

	@ApiModelProperty(value = "发票申请部分 - 税率")
	private String taxRate;

	@ApiModelProperty("原先是 String jsonStr 字串")
	private List<InvoiceApplySupplierOpApplyFormItem> packageList;

	@ApiModelProperty("订单来源")
	private String sourceFrom;

	@ApiModelProperty("服务编号")
	private String serviceNo;

	@ApiModelProperty("申请时间, 这个字段用于传递集采发票单的申请时间")
	private Date applyTime;

}
