package cn.iocoder.yudao.module.mes.controller.admin.goview.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 可视化大屏新增/修改 Request VO")
@Data
public class GoviewSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "11354")
    private Long id;

    @Schema(description = "名称", example = "赵六")
    private String name;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "启用状态")
    private Long state;

    @Schema(description = "图片路径")
    private String indexImage;

    @Schema(description = "路由路径")
    private String route;

    @Schema(description = "内容")
    private String content;

    @Schema(description = "产线ID")
    private Long orgId;

    @Schema(description = "产线名称")
    private String orgName;

    @Schema(description = "大屏类型")
    private String type;

    @Schema(description = "设备ids与点位ids")
    private String deviceIds;

    @Schema(description = "设备ids与点位ids列表")
    private List<DevicePointVO> deviceIdsList;

    @Data
    public static class DevicePointVO {
        @Schema(description = "设备ID", example = "12")
        private Long deviceId;
        @Schema(description = "点位ID列表", example = "[1,5,9]")
        private List<Long> attributesIds;
    }

}