36 lines
1.0 KiB
C#
36 lines
1.0 KiB
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 List<string> UserId { get; set; }
|
|
[FirestoreProperty]
|
|
public int CompanyId { get; set; }
|
|
[FirestoreProperty]
|
|
public long? ScheduleGenerationId { get; set; }
|
|
}
|
|
}
|