package com.storlead.sales.pojo.vo.finance;

import com.storlead.sales.pojo.dto.finance.OrderReceivePlanDetailDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

/**
 * @program: sp-sales-platform
 * @description:
 * @author: chenkq
 * @create: 2024-07-29 15:40
 */
@Data
public class OrderReceivePlanVO {

    @ApiModelProperty(value = "客户id")
    private Long customerId;

    @ApiModelProperty(value = "客户")
    private String customerName;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "订单详情")
    private String orderName;
    /**
     * 首次回款日期
     */
    private LocalDate firstReceiveDate;
    /**
     * 回款间隔单位，1：天 或 2：月
     */
    private Integer receiveIntervalUnit;
    /**
     * 回款间隔时间，天 或 月
     */
    private Integer receiveInterval;
    /**
     * 回款期数
     */
    private Integer receivePeriodTotal;

    private OrderReceivePlanDetailVO detail;
    /**
     *
     */
    @ApiModelProperty(value = "计划详情")
    List<OrderReceivePlanDetailVO> planDetails;

    @ApiModelProperty(value = "回款详情")
    List<OrderReceiveRecordVO> receiveDetails;
}
