namespace QYZH.InteractiveMagazine.Infrastructure.RabbitMQ
{
    public class RabbitMQSendParam
    {
        /// <summary>
        /// 交换机 默认空
        /// </summary>
        public string Exchange { get; set; } = "";
        public string Queue { get; set; }
        /// <summary>
        /// 路由键
        /// </summary>
        public string RoutingKey { get; set; }

        /// <summary>
        /// 消息数据
        /// </summary>
        public object Data { get; set; }

        /// <summary>
        /// 是否清空队列
        /// </summary>
        public bool Purge { get; set; } = false;
    }
}
