package com.ho.business.vo.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ho.common.tools.constant.CommonConstant;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description  电站实体类出参
 * Author yule
 * Date 2023/11/07
 */
@Data
public class StationInfoResp {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "父id")
    private Integer pId;

    @ApiModelProperty(value = "分组id")
    private Integer groupId;

    @ApiModelProperty(value = "部门id")
    private Integer deptId;

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

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "装机容量")
    private BigDecimal capacity;

    @ApiModelProperty(value = "额定功率")
    private BigDecimal ratePower;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "电站类型")
    private Integer type;

    @JsonFormat(pattern = CommonConstant.DATE)
    @ApiModelProperty(value = "并网时间")
    private Date gridTime;

    @ApiModelProperty(value = "柜子类型")
    private Integer cupboardType;

    @ApiModelProperty(value = "方案版本号")
    private String planVersion;

    /******************************************/
    @ApiModelProperty(value = "设备名字")
    private String deviceName;

    @ApiModelProperty(value = "厂家名称")
    private String producer;

    @ApiModelProperty(value = "厂家设备型号")
    private String producerType;
}
