package cn.iocoder.yudao.module.pms.controller.admin.iotwebtopoproject.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - 设备台账 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotWebtopoDeviceRespVO {

    @Schema(description = "设备id 主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6797")
    @ExcelProperty("设备id 主键id")
    private Long id;

    @Schema(description = "资产编码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("设备编码")
    private String deviceCode;

    @Schema(description = "设备名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "空压机")
    @ExcelProperty("设备名称")
    private String deviceName;

    @Schema(description = "设备状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "sg")
    @ExcelProperty("设备状态")
    private String deviceStatus;

    @Schema(description = "设备点位参数列表", requiredMode = Schema.RequiredMode.REQUIRED, example = "")
    @ExcelProperty("设备点位参数列表")
    private List<IotWebtopoDevicePointParamsRespVO> pointParams;

}
