package com.usky.vpp.service.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 需求响应邀约展示对象
 */
@Data
public class DrInvitationVO {

    private Long id;
    private String invitationNo;
    private Long drEventId;
    /** 事件业务编号（vpp_dr_event.event_id） */
    private String eventId;
    private Long customerId;
    private String customerName;
    private LocalDate executeStartDate;
    private LocalDate executeEndDate;
    private LocalDateTime replyDeadline;
    private LocalDateTime issueTime;
    private Integer transactionType;
    private Integer responseType;
    private BigDecimal demandCapacityKw;
    /** 申报出清容量 kW */
    private BigDecimal declaredCapacityKw;
    /** 实际出清 kW（电网审核通过） */
    private BigDecimal actualClearedCapacityKw;
    /** 预估响应容量 kW（响应完成后本平台评估） */
    private BigDecimal estimatedResponseCapacityKw;
    /** 预估完成率 = 预估响应容量 / 实际出清 */
    private BigDecimal estimatedCompletionRate;
    /** 实际响应容量 kW（电网评估最终结果） */
    private BigDecimal actualResponseCapacityKw;
    /** 响应完成率 = 实际响应容量 / 实际出清 */
    private BigDecimal responseCompletionRate;
    /** 是否中标 0否 1是 */
    private Integer isWinningBid;
    private Integer replyStatus;
    /** 0待参与 1已申报 2申报完成 3执行中 4已结束 5已取消 */
    private Integer responseStatus;
    private Integer smsNotifyStatus;
    private LocalDateTime smsNotifyAt;
    private Long smsContactId;
    private String smsContactName;
    private String smsContactPhone;
    private Long participationId;
    private Long siteId;
    private String remark;
    private Integer tenantId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String createdBy;
    private String updatedBy;
}
