package com.ho.business.vo.resp.elecPriceCurve;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Description 电价曲线模板导入类
 * Author yule
 * Date 2023/4/20 10:57
 */
@Data
public class ElecPriceTemplateExcel {


    // @ExcelProperty(value = "模板编号")
    @ExcelIgnore
    private String templateNo;

    @ExcelProperty(value = "时间段开始", index = 1)
    private String beginTime;

    @ExcelProperty(value = "时间段结束", index = 2)
    private String endTime;

    @ExcelProperty(value = "用电类型", index = 3)
    private String type;

    @ExcelProperty(value = "价格", index = 4)
    private String price;

    @ExcelProperty(value = "模板名称", index = 0)
    private String templateName;

    @ExcelProperty(value = "是否启用", index = 5)
    private String isEnable;


    //@ExcelProperty(value = "电价曲线类型", index = 6)
    //private String elecType;

    @ExcelProperty(value = "修改时间", index = 9)
    private String updateTime;

    //电站id
    @ExcelIgnore
    private Integer stationId;
    //集团id
    @ExcelIgnore
    private Integer groupId;

    @ApiModelProperty(value="模板有效期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelProperty(value = "模板有效期开始时间", index = 6)
    private Date validityStartTime;

    @ApiModelProperty(value="模板有效期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ExcelProperty(value = "模板有效期结束时间", index = 7)
    private Date validityEndTime;

    @ApiModelProperty(value="电价折扣(%)")
    @ExcelProperty(value = "电价折扣(%)", index = 8)
    private Double discount;

}
