This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
Compoment
/
BPA.CAP
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add data model.
master
yangxiaodong
7 years ago
parent
6541e1aa38
commit
e256691973
2 changed files
with
25 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+12
-0
src/DotNetCore.CAP/MessageData.cs
+13
-0
src/DotNetCore.CAP/StateData.cs
+ 12
- 0
src/DotNetCore.CAP/MessageData.cs
View File
@@ -0,0 +1,12 @@
using System;
using DotNetCore.CAP.Models;
namespace DotNetCore.CAP
{
public class MessageData
{
public string State { get; set; }
public Message Message { get; set; }
public DateTime CreatedAt { get; set; }
}
}
+ 13
- 0
src/DotNetCore.CAP/StateData.cs
View File
@@ -0,0 +1,13 @@
using System.Collections.Generic;
namespace DotNetCore.CAP
{
public class StateData
{
public string Name { get; set; }
public string Reason { get; set; }
public IDictionary<string, string> Data { get; set; }
}
}
Write
Preview
Loading…
Cancel
Save