events refactoring

This commit is contained in:
Paul Schneider 2016-09-17 03:36:34 +02:00
commit d11fed8d32
13 changed files with 98 additions and 89 deletions

View file

@ -28,24 +28,12 @@ namespace Yavsc.Models.Messaging
/// </summary>
public class YaEvent : BaseEvent
{
public YaEvent(string topic)
{
Topic = topic;
}
/// <summary>
/// The topic.
/// </summary>
public string Topic { get; set; }
/// <summary>
/// The NF provider identifier.
/// </summary>
[Display(Name="ProviderId")]
public string ProviderId { get; set; }
/// <summary>
/// The promotion code.
/// </summary>
[Display(Name="Comment")]
public string Comment { get; set; }
[Display(Name="From")]
public string FromUserName { get; set; }
/// <summary>
/// The event web page.
/// </summary>