package cn.iocoder.yudao.module.pms.controller.admin.iotdevicecategorytemplate.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 = "管理后台 - 设备分类属性公用模板新增/修改 Request VO")
@Data
public class IotDeviceCategoryTemplateSaveReqVO {

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

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

    @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 = "2")
    private Integer status;

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

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

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

}