package com.usky.vpp.service.vo;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 资源看板列表项（含 TSDB 实时运行数据）
 */
@Data
public class ResourceBoardItemVO {

    private Long resourceId;
    private String resourceCode;
    private String resourceName;
    private String resourceType;
    /** 资源类型中文名 */
    private String resourceTypeLabel;
    private Long siteId;
    private String siteName;
    private String province;
    private String city;
    private String district;
    /** 运行状态：正常/异常/离线/运行/停机 */
    private String runStatusLabel;
    /** 是否异常（前端红色高亮） */
    private Boolean abnormal;
    /** 实时功率 kW */
    private BigDecimal realtimePowerKw;
    /** 电压 V */
    private BigDecimal voltageV;
    /** 电流 A */
    private BigDecimal currentA;
    /** 储能 SOC %，非储能为空 */
    private BigDecimal socPercent;
    /** 充电桩充电功率 kW，非充电桩为空 */
    private BigDecimal evcsChargePowerKw;
    private BigDecimal capacityKw;
}
