# AlertEventMessage.java

    package cloud.wconnect.rateshop.pojo.dto.rateshop.sender;

    import lombok.Data;

    /**
     * alert event消息
     *
     * @author lichen
     * @date 2023/6/7
     */
    @Data
    public class AlertEventMessage {

        /**
         * 消息类型 1 priceChange 2 marketDemand 3:iwc level change
         */
        private int type;

        /**
         * 消息内容
         */
        private String content;

        /**
         * 价格变化
         */
        public static final int TYPE_PRICE_CHANGE = 1;
        /**
         * 趋势变化
         */
        public static final int TYPE_MARKET_DEMAND = 2;
        /**
         * iwc级别变化
         */
        public static final int TYPE_IWC_LEVEL_CHANGE = 3;

    }