package com.yuchen.saas.device.api.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author yuanzhelin
 * @Date 2024/9/25 15:53
 * @Description TODO
 */
@Data
public class NetAlarmSimpleVo implements Serializable {
    /**
     * id主键
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 告警名称
     */
    @NotNull(message = "告警名称不能为空")
    @ApiModelProperty(name = "alarmName", value = "告警名称")
    private String alarmName;
}
