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

import cn.iocoder.yudao.module.pms.controller.admin.iotdevicetemplate.model.DeviceTemplateAttrs;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Schema(description = "管理后台 - PMS 功能优化 设备模板新增/修改 Request VO")
@Data
public class IotDeviceTemplateSaveReqVO {

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

    @Schema(description = "所属设备分类", example = "22225")
    private Long deviceCategoryId;

    @Schema(description = "所属设备id", example = "22225")
    private Long deviceId;

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

    @Schema(description = "模板编码")
    private String code;

    @Schema(description = "模板属性 json 格式数据")
    private List<DeviceTemplateAttrs> attrs;

    @Schema(description = "模板描述", example = "随便")
    private String description;

    @Schema(description = "状态 0启用  1停用", example = "1")
    private Integer status;

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

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

    @Schema(description = "模板版本号")
    private Integer version;

}