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 PresetButtonPressedMessage extends MqMessage implements Serializable {
    /**
     * 请求批次号
     */
    private String btnPressedRequestNo;
    /**
     * 预设按钮类型
     *     AGREE: 待办同意
     *     REJECT: 待办驳回
     */
    private PresetButtonType presetButtonType;

    /**
     * 待办信息
     */
    private TodoInfo todoInfo;
}