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.time.LocalDateTime;
import java.util.List;

@Schema(description = "管理后台 - 组态项目列 Response VO")
@Data
@ExcelIgnoreUnannotated
public class IotWebtopoProjectRespVO {

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

    @Schema(description = "部门id", example = "15434")
    @ExcelProperty("部门id")
    private Long deptId;

    @Schema(description = "项目id", requiredMode = Schema.RequiredMode.REQUIRED, example = "14584")
    @ExcelProperty("项目id")
    private Long projectId;

    @Schema(description = "项目名称", example = "赵六")
    @ExcelProperty("项目名称")
    private String projectName;

    @Schema(description = "缩略图")
    @ExcelProperty("缩略图")
    private String thumbnail;

    @Schema(description = "数据模型")
    @ExcelProperty("数据模型")
    private String dataModel;

    @Schema(description = "排序值")
    @ExcelProperty("排序值")
    private Integer sort;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "状态", example = "2")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "设备列表", example = "2")
    @ExcelProperty("设备列表")
    private List<IotWebtopoDeviceRespVO> linkedDevices;

    @Schema(description = "组态项目关联的设备id列表", example = "2")
    @ExcelProperty("组态项目关联的设备id列表")
    private List<Long> linkedDeviceIds;
}