package cn.superdesk.uniorder.dto.vo.thirdpart.jd;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: Java类作用描述
 * @Author: linjinyu
 * @CreateDate: 2022/6/15 9:55 上午
 * @UpdateUser: linjinyu
 * @UpdateDate: 2022/6/15 9:55 上午
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder(toBuilder = true)
@Data
@ToString
public class AccountingUnifiedSupplierOrderJdListItemVo implements Serializable {

//    @ApiModelProperty(value = "accountingUnifiedSupplierOrderJdId")
//    private Long accountingUnifiedSupplierOrderJdId;
    @ApiModelProperty(value = "Id")
    private Long id;


    @ApiModelProperty(value = "批次Id")
    private String batchId;




    @ApiModelProperty(value = "订单编号 215961349611")
    private String jdOrderSn;
    @ApiModelProperty(value = "原始订单号 215276644920")
    private String jdOriginalOrderSn;

    @ApiModelProperty(value = "支付号 72927521073111000607247")
    private String paymentNo;

    @ApiModelProperty(value = "用户名  侨城汇vsp")
    private String jdAccoumtUserName;
    @ApiModelProperty(value = "产品编号 KA")
    private String productNumber;

    @ApiModelProperty(value = "业务类型")
    private String bizType;

    @ApiModelProperty(value = "订单时间 eg 2021-02-28 10:25:41")
    private Date jdCreateTime;
    @ApiModelProperty(value = "支付时间 eg 2021-02-28 10:50:09")
    private Date jdPayTime;
    @ApiModelProperty(value = "完成时间 eg 2021-02-28 17:32:42")
    private Date jdFinishTime;



    @ApiModelProperty(value = "订单金额 159.18")
    private BigDecimal jdOrderAmount;
    @ApiModelProperty(value = "还款金额 0.00")
    private BigDecimal jdRepaymentAmount;
    @ApiModelProperty(value = "退款金额 106.12")
    private BigDecimal jdRefundAmount;
    @ApiModelProperty(value = "未结清 53.06")
    private BigDecimal jdOutStandingAmount;

    @ApiModelProperty(value = "京东 订单状态 ++")
    private Integer jdOrderState;
    @ApiModelProperty(value = "京东 订单状态 已完成 部分退货")
    private String  jdOrderStateName;
    @ApiModelProperty(value = "京东 入账状态 ++")
    private Integer wereAccountedState;
    @ApiModelProperty(value = "京东 入账状态 已入账")
    private String  wereAccountedStateName;

    @ApiModelProperty(value = "出账时间 2021-08-01 00:00:00")
    private Date outAccountTime;

    @ApiModelProperty(value = "账单编号 202103010000900180 直接")
    private String jdAccountingOrderSn;

    @ApiModelProperty(value = "京东 结清状态 ++")
    private Integer settledState;
    @ApiModelProperty(value = "京东 结清状态 未结清 ")
    private String  settledStateName;
    @ApiModelProperty(value = "结清时间 未结清为 空串")
    private Date    settledTime;


    @ApiModelProperty(value = "合同编号 ACTBO201811130029")
    private String purchaserContractSn;

    @ApiModelProperty(value = "企业编号 C1004592650")
    private String purchaserVirtCode;
    @ApiModelProperty(value = "企业名称 深圳市侨城汇网络科技有限公司")
    private String purchaserVirtName;

    @ApiModelProperty(value = "发票状态")
    private Integer invoicedState;
    @ApiModelProperty(value = "发票状态 未开")
    private String  invoicedStateName;

    @ApiModelProperty(value = "售后状态")
    private Integer afterSaleState;
    @ApiModelProperty(value = "售后状态 未进售后 售后完成 已进售后")
    private String  afterSaleStateName;

    @ApiModelProperty(value = "还款编号 目前为空")
    private String repaymentOrderSn;
    @ApiModelProperty(value = "发票时间 目前为空 大概也会是 2021-04-01 00:00:00")
    private Date   invoicedDate;

    @ApiModelProperty(value = "应还日期 2021-04-01 00:00:00")
    private Date repaymentTime;

    @ApiModelProperty(value = "逾期天数 0")
    private Integer overdueDays;
    @ApiModelProperty(value = "京东 订单类型")
    private Integer jdOrderType;
    @ApiModelProperty(value = "京东 订单类型 原始订单 子订单")
    private String  jdOrderTypeName;
    @ApiModelProperty(value = "京东 支付类型 ++")
    private Integer jdPayType;
    @ApiModelProperty(value = "京东 支付类型 金采支付")
    private String  jdPayTypeName;

    @ApiModelProperty(value = "京东 发票号(如果开票了会有)")
    private String     invoiceNumber;
    @ApiModelProperty(value = "发票代码(大概是发票类型代码吧)")
    private String     invoiceCategoryCode;
    @ApiModelProperty(value = "发票金额(含税)")
    private BigDecimal totalAmountIncludingTax;

    @ApiModelProperty(value = "发票抬头")
    private String  purchaserCompanyName;
    @ApiModelProperty(value = "发票类型Id 看一下能不能对上统一上的表记录")
    private Integer invoiceTypeId;
    @ApiModelProperty(value = "发票类型")
    private String  invoiceType;

    @ApiModelProperty(value = "创建时间")
    private Date   createTime;
    @ApiModelProperty(value = "操作人 sysUserId")
    private Long   createUserId;
    @ApiModelProperty(value = "操作人 sysUserName")
    private String createUserName;

    @ApiModelProperty(value = "最近更新时间")
    private Date   updateTime;
    @ApiModelProperty(value = "操作人 sysUserId")
    private Long   updateUserId;
    @ApiModelProperty(value = "操作人 sysUserName")
    private String updateUserName;

    @ApiModelProperty(value = "处理结果:-1-正常;2-异常;")
    private Integer processResult;
    @ApiModelProperty(value = "处理结果:-1-正常;2-异常;")
    private String  processResultName;
    @ApiModelProperty(value = "处理过程报告")
    private String  processReport;

    @ApiModelProperty(value = "订单金额 159.18")
    private String jdOrderAmountStr;
    @ApiModelProperty(value = "还款金额 0.00")
    private String jdRepaymentAmountStr;
    @ApiModelProperty(value = "退款金额 106.12")
    private String jdRefundAmountStr;
    @ApiModelProperty(value = "未结清 53.06")
    private String jdOutStandingAmountStr;


}
