yavsc/Yavsc/Models/HairCut/HairCutQueryEvent.cs

35 lines
571 B
C#
Raw Normal View History

2017-02-22 22:45:59 +01:00
using Yavsc.Interfaces.Workflow;
2017-02-13 01:32:03 +01:00
namespace Yavsc.Models.Haircut
2017-02-11 15:46:26 +01:00
{
2017-02-27 19:28:32 +01:00
public class HairCutQueryEvent : RdvQueryProviderInfo, IEvent
2017-02-11 15:46:26 +01:00
{
2017-06-02 21:34:18 +02:00
public HairCutQueryEvent(string subTopic)
2017-02-11 15:46:26 +01:00
{
2017-06-02 21:34:18 +02:00
Topic = GetType().Name+"/"+subTopic;
}
2017-02-11 15:46:26 +01:00
public string Message
{
get;
set;
}
public string Sender
{
get;
set;
}
public string Topic
{
get;
2017-06-02 21:34:18 +02:00
private set;
2017-02-11 15:46:26 +01:00
}
2017-06-02 21:34:18 +02:00
2017-02-13 01:32:03 +01:00
HairCutQuery Data { get; set; }
2017-02-11 15:46:26 +01:00
}
2017-06-02 21:34:18 +02:00
}