32 lines
872 B
C#
32 lines
872 B
C#
|
using Google.Cloud.Firestore;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace BCS.BMC.FirebaseCloudMessaging.Dto
|
|||
|
{
|
|||
|
[FirestoreData]
|
|||
|
public class FireStoreNotificationModel
|
|||
|
{
|
|||
|
[FirestoreProperty]
|
|||
|
public string FcmToken { get; set; }
|
|||
|
[FirestoreProperty]
|
|||
|
public List<string> Id { get; set; }
|
|||
|
[FirestoreProperty]
|
|||
|
public string Message { get; set; }
|
|||
|
[FirestoreProperty]
|
|||
|
public DateTime? MessageSentDateTime { get; set; }
|
|||
|
[FirestoreProperty]
|
|||
|
|
|||
|
public string SenderImageurl { get; set; }
|
|||
|
[FirestoreProperty]
|
|||
|
public string SenderName { get; set; }
|
|||
|
[FirestoreProperty]
|
|||
|
public bool Status { get; set; }
|
|||
|
[FirestoreProperty]
|
|||
|
public int UserId { get; set; }
|
|||
|
}
|
|||
|
}
|