|
@@ -1,8 +1,11 @@
|
|
package cn.iocoder.yudao.module.pms.controller.admin.iotdevicecategorytemplateattrs.vo;
|
|
package cn.iocoder.yudao.module.pms.controller.admin.iotdevicecategorytemplateattrs.vo;
|
|
|
|
|
|
|
|
+import cn.iocoder.yudao.module.pms.controller.admin.iotdevicetemplate.model.DeviceTemplateAttrs;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
+import javax.validation.Valid;
|
|
|
|
+
|
|
@Schema(description = "管理后台 - 设备分类公共模板属性新增/修改 Request VO")
|
|
@Schema(description = "管理后台 - 设备分类公共模板属性新增/修改 Request VO")
|
|
@Data
|
|
@Data
|
|
public class IotDeviceCategoryTemplateAttrsSaveReqVO {
|
|
public class IotDeviceCategoryTemplateAttrsSaveReqVO {
|
|
@@ -47,7 +50,8 @@ public class IotDeviceCategoryTemplateAttrsSaveReqVO {
|
|
private Integer sort;
|
|
private Integer sort;
|
|
|
|
|
|
@Schema(description = "下拉框选项")
|
|
@Schema(description = "下拉框选项")
|
|
- private String selectOptions;
|
|
|
|
|
|
+ @Valid
|
|
|
|
+ private DeviceTemplateAttrs selectOptions;
|
|
|
|
|
|
@Schema(description = "属性版本号")
|
|
@Schema(description = "属性版本号")
|
|
private Integer version;
|
|
private Integer version;
|