package com.usky.vpp.service.vo;

import lombok.Data;

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

/**
 * 响应监测 - 响应记录（按 vpp_dr_event 实际字段 + 完成率）
 */
@Data
public class DrMonitorRecordVO {

    private Long id;
    private String eventId;
    private String eventName;
    private Integer responseType;
    private Integer eventType;
    private LocalDateTime startTime;
    private LocalDateTime endTime;
    private LocalDateTime declareDeadline;
    private String inviteScope;
    private BigDecimal targetCapacityKw;
    private BigDecimal clearedCapacityKw;
    private String remark;
    private String attachmentUrl;
    private BigDecimal subsidyPrice;
    private Integer eventStatus;
    private String rawPayload;
    private Integer tenantId;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String createdBy;
    private String updatedBy;

    /** 关联邀约完成率均值（0~1） */
    private BigDecimal responseCompletionRate;
    /** 是否达标：关联邀约 response_completion_rate = 100% */
    private Boolean qualified;
}
