package vip.xiaonuo.coldchain.modular.push.param;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

@Getter
@Setter
public class AlarmPushParam {
    /**
     * 用户openId
     */
    private Set<String> userIdList = new HashSet<String>();
    /**
     * 设备名
     */
    private String deviceName;
    /**
     * 告警内容
     */
    private String context;
    /**
     * 告警时间
     */
    private Date noticeTime;
    /**
     * 告警类型
     */
    private String type;
    /**
     * 告警值
     */
    private String value;
    /**
     * 用户名
     */
    private String userName = "管理员";

    public AlarmPushParam(String value) {
        this.value = value;
    }

    public AlarmPushParam() {
    }
}
