yavsc/Yavsc/Models/Messaging/RdvQueryEvent.cs

52 lines
1.3 KiB
C#
Raw Normal View History

2016-05-17 18:22:18 +02:00
//
// BookQueryEvent.cs
2015-11-17 22:03:42 +01:00
//
// Author:
// Paul Schneider <paul@pschneider.fr>
//
2016-07-27 14:31:04 +02:00
// Copyright (c) 2015-2016 GNU GPL
2015-11-17 22:03:42 +01:00
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
2017-02-22 22:58:02 +01:00
namespace Yavsc.Models.Messaging
{
using Interfaces.Workflow;
2017-02-27 19:28:32 +01:00
public class RdvQueryEvent: RdvQueryProviderInfo, IEvent
2015-11-17 22:03:42 +01:00
{
2017-06-02 21:34:18 +02:00
public RdvQueryEvent(string subTopic)
{
2017-06-02 21:34:18 +02:00
Topic = GetType().Name+"/"+subTopic;
}
2016-05-17 18:22:18 +02:00
2016-09-17 03:36:34 +02:00
public string Message
{
get; set;
}
2016-07-27 14:31:04 +02:00
2016-09-17 03:36:34 +02:00
public string Sender
{
get; set;
}
public string Topic
{
2017-06-02 21:34:18 +02:00
get; private set;
2016-09-17 03:36:34 +02:00
}
}
2015-11-17 22:03:42 +01:00
2016-05-17 18:22:18 +02:00
}