AutoDispatching/AutoDispathingWork/Dto/QueryRequest/DispatchReq.cs
2023-11-14 22:54:12 +08:00

16 lines
621 B
C#

using System.Text.Json.Serialization;
namespace WorkerService1.Dto.QueryRequest;
public class DispatchReq
{
// {"acceptTypeCode":"A2-01-10","target":2,"handlerId":"66fa9261-16f6-49aa-a391-5848f40301e0","typeCode":"A2-01-10"}
[JsonPropertyName("acceptTypeCode")]
public string AcceptTypeCode { get; set; } = "A2-01-10";
[JsonPropertyName("target")]
public int Target { get; set; } = 2;
[JsonPropertyName("handlerId")]
public string HandlerId { get; set; } = "66fa9261-16f6-49aa-a391-5848f40301e0";
[JsonPropertyName("typeCode")]
public string TypeCode { get; set; } = "A2-01-10";
}