package com.jay.monitor.data.server.avue.template;

import com.jay.monitor.data.server.controllers.AlertPlatformController;
import com.jay.monitor.data.server.enums.AlertMsgEnums;
import com.ruoyi.client.annotation.column.AVueSelect;

/**
 * @author liukaixiong
 * @Email liukx@elab-plus.com
 * @date 2021/9/16 - 15:48
 */
public class AlertPlaformNodelModel {

    @AVueSelect(prop = "platformType", label = "告警平台类型", dicData = "AlertMsgEnums", cascaderItem = {"alertPlatformId"})
    private AlertMsgEnums platformType = AlertMsgEnums.DingDing;

    /**
     * 告警编号
     */
    @AVueSelect(prop = "alertPlatformId", label = "选择告警组", dicUrl = AlertPlatformController.TYPE_LIST_URL, dicMethod = "post", props = "{'label':'alertName','value':'id'}", dicQuery = "{'platformType':'{{platformType}}'}")
    private String alertPlatformId;
}
