bitwarden-android/src/App/Models/PushNotification.cs

27 lines
573 B
C#
Raw Normal View History

2016-06-30 07:36:44 +03:00
using System;
using Bit.App.Enums;
namespace Bit.App.Models
{
public class PushNotification
{
public PushType Type { get; set; }
}
2016-06-30 07:36:44 +03:00
public abstract class SyncPushNotification : PushNotification
{
public string UserId { get; set; }
}
public class SyncCipherPushNotification : SyncPushNotification
{
2016-06-30 07:36:44 +03:00
public string Id { get; set; }
public DateTime RevisionDate { get; set; }
}
public class SyncCiphersPushNotification : SyncPushNotification
{
public DateTime Date { get; set; }
}
}