2016-06-30 07:36:44 +03:00
|
|
|
|
using System;
|
|
|
|
|
using Bit.App.Enums;
|
2016-06-30 04:59:18 +03:00
|
|
|
|
|
|
|
|
|
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
|
2016-06-30 04:59:18 +03:00
|
|
|
|
{
|
|
|
|
|
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; }
|
2016-06-30 04:59:18 +03:00
|
|
|
|
}
|
|
|
|
|
}
|