package cn.iocoder.yudao.module.iot.controller.admin.devicemodelrules.vo;

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

@Schema(description = "管理后台 - 点位规则关联模型新增/修改 Request VO")
@Data
public class DeviceModelRulesSaveReqVO {

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

    @Schema(description = "标识符")
    private String identifier;

    @Schema(description = "名称", example = "王五")
    private String fieldName;

    @Schema(description = "规则")
    private String fieldRule;

    @Schema(description = "默认值")
    private String defaultValue;

    @Schema(description = "关联设备模型Id", example = "13397")
    private Long modelId;

    @Schema(description = "告警等级")
    private String alarmLevel;

    @Schema(description = "点位规则列表", implementation = PointRulesRespVO.class)
    private List<PointRulesRespVO> pointRulesVOList;

}