package com.njcn.advance.pojo.param.govern.voltage;


import com.njcn.web.constant.ValidMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 通用方案的参数，UPS/AVC
 */
@Data
public class CommonSchemeParam implements Serializable {

    /**
     * 采购单价
     */
    @ApiModelProperty("采购单价")
    @NotNull(message = ValidMessage.MISS_PREFIX + "price")
    private Double price;

    /**
     * 补偿能力
     */
    @ApiModelProperty("补偿能力")
    @NotNull(message = ValidMessage.MISS_PREFIX + "compensation")
    private Double compensation;

    /**
     * 维护费
     */
    @ApiModelProperty("维护费")
    @NotNull(message = ValidMessage.MISS_PREFIX + "maintainFee")
    private Double maintainFee;

    /**
     * 响应时间
     */
    @ApiModelProperty("响应时间")
    @NotNull(message = ValidMessage.MISS_PREFIX + "responseTime")
    private Double responseTime;

    /**
     * 后备时间
     */
    @ApiModelProperty("后备时间")
    @NotNull(message = ValidMessage.MISS_PREFIX + "backupTime")
    private Double backupTime;


}
