package cn.axzo.msg.center.api.mq;

import cn.axzo.msg.center.service.enums.PresetButtonType;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author yanglin
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CardPresetButtonPressedMessage extends MqMessage implements Serializable {

    /**
     * 预设按钮类型
     *     AGREE: 同意
     *     REJECT: 驳回
     *     REVOKE: 撤销
     */
    private PresetButtonType presetButtonType;

    /**
     * 待办信息
     */
    private CardInfo cardInfo;

}