Commit e2566919 authored by yangxiaodong's avatar yangxiaodong

Add data model.

parent 6541e1aa
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; }
}
}
\ No newline at end of file
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; }
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment