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

import cn.superdesk.uniorder.dto.param.organisation.SysEnterpriseExtInvoiceParam;
import cn.superdesk.uniorder.dto.vo._common.EnumSelectLongStringVo;
import cn.superdesk.uniorder.dto.vo.invoice.common.InvoiceBankInfoVo;
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: 发票单 详情 积分结算2.1
 * @Author: linjinyu
 * @CreateDate: 2022/3/3 下午6:27
 * @UpdateUser: linjinyu
 * @UpdateDate: 2022/3/3 下午6:27
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Data
public class InvoiceApplyCustomerDetailDimCreditVoV2_1 implements Serializable {

    @ApiModelProperty("发票单")
    private InvoiceApplyCustomerPageVo invoiceApplyMain;

    @ApiModelProperty("流水List")
    private List<InvoiceApplyDetailDimCreditItemVo> creditList;

    @ApiModelProperty("销方信息")
    private InvoiceBankInfoVo bankInfo;

    //	@Deprecated
//	@ApiModelProperty("购方信息-发票抬头 之前名称 invoiceCompanyName - 老方式 - 新方式为 sysEnterpriseExtInvoiceId sys_enterprise_ext_invoice.id")
//	private String                       invoiceTitle;
//	@ApiModelProperty("购方信息-企业信息扩展发票信息.id sysEnterpriseExtInvoiceId 如果等于0 老方式 显示 invoiceTitle 如果大于0 显示 sysEnterpriseExtInvoiceSnapshotEntity")
//	private Long                         sysEnterpriseExtInvoiceId;
//	@ApiModelProperty("购方信息-企业信息扩展发票信息快照 JSON 字符串")
//	private String                       sysEnterpriseExtInvoiceSnapshot;

    @ApiModelProperty("购方信息-企业信息扩展发票信息快照 对象")
    private SysEnterpriseExtInvoiceParam sysEnterpriseExtInvoiceSnapshotEntity;

    @ApiModelProperty("开票申请编号下拉列表")
    private List<EnumSelectLongStringVo> invoiceApplySelectList;
}
