package com.kym.entity.miniapp.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalTime;

/**
 * @author skyline
 * @description 分时费率
 * @date 2023-08-15 16:11
 */
@Data
public class PlatformPolicyInfoVo {
    public final static String[] PRICE_PERIOD = {"谷", "平", "峰", "尖"};
    /**
     * 价格时段（尖峰平谷）
     */
    public String pricePeriod;
    /**
     * 时段开始时间点
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "HH:mm:ss", timezone = "GMT+8")
    private LocalTime startTime;
    /**
     * 时段电费 小数点后4位
     */
    private Double elecPrice;
    /**
     * 时段服务费 小数点后4位
     */
    private Double servicePrice;

}
