10 [CollectionName(
"GroupMessages")]
13 [Index(
"NodeId",
"Created")]
16 private Guid objectId = Guid.Empty;
17 private Guid nodeId = Guid.Empty;
19 private string eventId =
string.Empty;
20 private string body =
string.Empty;
21 private DateTime created = DateTime.Now;
22 private DateTime updated = DateTime.MinValue;
23 private int count = 1;
43 this.created = Timestamp;
44 this.updated = Timestamp;
58 set => this.objectId = value;
67 set => this.nodeId = value;
76 set => this.created = value;
82 [DefaultValueDateTimeMinValue]
86 set => this.updated = value;
95 set => this.count = value;
105 set => this.type = value;
111 [DefaultValueStringEmpty]
115 set => this.eventId = value;
121 [DefaultValueStringEmpty]
125 set => this.body = value;
Defines a message logged on a group node.
GroupMessage(Guid NodeId, DateTime Timestamp, MessageType Type, string EventId, string Body)
Defines a message logged on a geoup node.
DateTime Updated
When node was last updated. If it has not been updated, value will be DateTime.MinValue.
string EventId
Optional Event ID.
Guid NodeId
Object ID of group node on which message has been logged.
int Count
Number of times the message has been reported (updated).
Guid ObjectId
Object ID in persistence layer.
GroupMessage()
Defines a message logged on a group node.
MessageType Type
Message Type
DateTime Created
When node was created.
TypeNameSerialization
How the type name should be serialized.
MessageType
Type of message.