namespace QYZH.InteractiveMagazine.Models.Dto.RabbitMQ;
///
/// MQ消息发布入参。
///
/// 消息数据类型。
public class MessagePublishInput
{
///
/// 交换机。
///
public string Exchange { get; set; } = string.Empty;
///
/// 队列。
///
public string Queue { get; set; } = string.Empty;
///
/// 路由键。
///
public string RoutingKey { get; set; } = string.Empty;
///
/// 消息数据。
///
public T Data { get; set; } = default!;
///
/// 业务类型。
///
public string BusinessType { get; set; } = string.Empty;
///
/// 业务ID。
///
public long BusinessId { get; set; }
}