ab56a9bcf7
SVN-Revision: r240
30 lines
670 B
C#
30 lines
670 B
C#
using Lskj.Push.Push.Mode;
|
|
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Lskj.Push.Push.Notification
|
|
{
|
|
public abstract class PlatformNotification
|
|
{
|
|
|
|
public const String ALERT = "alert";
|
|
private const String EXTRAS = "extras";
|
|
[JsonProperty]
|
|
public String alert{get;protected set;}
|
|
[JsonProperty]
|
|
public Dictionary<String, object> extras { get; protected set; }
|
|
|
|
public PlatformNotification()
|
|
{
|
|
this.alert = null;
|
|
this.extras = null;
|
|
}
|
|
|
|
|
|
}
|
|
}
|