将轨迹、面单、9610、揽收、自动触发与 ForecastBilling 异步化,缩短扫码与下单 RT;队列未启用时同步回落。 Co-authored-by: Cursor <cursoragent@cursor.com>
27 lines
661 B
C#
27 lines
661 B
C#
using Fake.EventBus.Distributed;
|
|
|
|
namespace Oms.Application.Messaging.ParcelCreate;
|
|
|
|
/// <summary>
|
|
/// 创单后置:上门揽收时创建并挂接揽收订单(可选再预报承运)。
|
|
/// </summary>
|
|
[Serializable]
|
|
public class OrderParcelPickupAttachIntegrationEvent : IntegrationEvent
|
|
{
|
|
public int OrderId { get; set; }
|
|
|
|
public int? CustomerId { get; set; }
|
|
|
|
public int SenderAddressId { get; set; }
|
|
|
|
public int WarehouseId { get; set; }
|
|
|
|
public string? PickupDirection { get; set; }
|
|
|
|
public string? CarrierCode { get; set; }
|
|
|
|
public string? CarrierService { get; set; }
|
|
|
|
public DateTime ExpectPickupTime { get; set; }
|
|
}
|