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

import com.alibaba.excel.annotation.ExcelProperty;
import com.ho.business.entity.ElecTemplate;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;

/**
 * @Description 查询所有的返回值
 * Author yule
 * Date 2023/4/21 17:12
 */
@Data
public class ElecPriceData extends ElecTemplate {


    @ApiModelProperty(value = "电站名称")
    private String stationName;


    /**
     * 与elec_template id关联
     */
    private Integer pid;

    /**
     * 开始时间
     */
    @ApiModelProperty(value = "开始时间")
    @ExcelProperty
    private String beginTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value = "结束时间")
    @ExcelProperty
    private String endTime;

    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    @ExcelProperty
    @Length(max = 10,message = "类型不能超过50个字符")
    private String type;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    @ExcelProperty
    private BigDecimal price;

    /**
     * 价格
     */
    @ApiModelProperty(value = "电价曲线类型(1: 储能 2：光伏 3：充电桩)")
    @ExcelProperty
    private String elecType;


}
