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

import cn.iocoder.yudao.module.iot.controller.admin.devicemodelrules.vo.PointRulesRespVO;
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 DevicePointRulesSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13120")
    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 = "19582")
    private Long deviceId;

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

    @Schema(description = "告警等级", example = "19582")
    private String alarmLevel;
}