itfx/src/InterfaceForward.Application/HostServices/AppSubscribeEvent.cs
2024-12-06 15:30:41 +08:00

41 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using InterfaceForward.Domain.Shared.Enum;
namespace InterfaceForward.Application.HostServices;
public class AppSubscribeEvent
{
/// <summary>
/// 操作类型
/// </summary>
public OptionType OptionType { get; set; }
/// <summary>
/// 应用key
/// </summary>
public string AppKey { get; set; }
/// <summary>
/// 系统接口code
/// </summary>
public string SystemInterfaceCode { get; set; }
/// <summary>
/// 服务商code
/// </summary>
public string ServiceProviderCode { get; set; }
/// <summary>
/// 【慎重】mq预取数量服务并发度给0就是默认4
/// </summary>
public ushort FetchCount { get; set; }
/// <summary>
/// 【慎重】失败重回队列一般false即接口通不做重试否则业务错误可能死循环
/// </summary>
public bool FailedRequeue { get; set; }
/// <summary>
/// 【慎重】删除队列删除专用一般false即接口通只解除绑定不删除队列
/// </summary>
public bool IsDeleteQueue { get; set; }
}