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.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 点位规则 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DevicePointRulesRespVO {

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

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

    @Schema(description = "名称", example = "赵六")
    @ExcelProperty("名称")
    private String fieldName;

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

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "设备模型Id", example = "19582")
    @ExcelProperty("设备模型Id")
    private Long deviceId;

    @Schema(description = "点位规则")
    private List<PointRulesRespVO> pointRulesVOList;

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

}