package com.usky.vpp.service.vo;

import lombok.Data;

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

/**
 * 需求响应策略详情
 */
@Data
public class DrStrategyVO {

    private Long id;
    private String strategyCode;
    private String strategyName;
    private Integer responseType;
    private BigDecimal adjustStepKw;
    private Integer executeMode;
    private String strategyConfig;
    private Integer isDefault;
    private Integer isEnabled;
    private Integer tenantId;
    private LocalDateTime createTime;
    private String createdBy;
    private List<DrStrategyResourceVO> resources;

    @Data
    public static class DrStrategyResourceVO {
        private Long resourceId;
        private String resourceName;
        private Integer priority;
        private BigDecimal maxAdjustKw;
    }
}
