Remove Old Stuffs for Refactor xEvent Service for Kafka and RabbitMQ ...
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace xEventService.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// a Message Descriptor for Events ...
|
||||
/// </summary>
|
||||
public class XEventMessage
|
||||
{
|
||||
/// <summary>
|
||||
/// Specified Action for Fire ...
|
||||
/// </summary>
|
||||
[JsonRequired]
|
||||
public string Action { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Specified Action Sender ...
|
||||
/// </summary>
|
||||
[JsonRequired]
|
||||
public string Sender { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Sending Time ...
|
||||
/// </summary>
|
||||
[JsonRequired]
|
||||
public DateTime Offset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Specified Message ...
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Metadata for Message ...
|
||||
/// </summary>
|
||||
public IDictionary<string, string> Payload { get; set; } = new Dictionary<string, string>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user