20 lines
648 B
C#
20 lines
648 B
C#
using MongoDB.Bson;
|
|
using MongoDB.Bson.Serialization.Attributes;
|
|
|
|
namespace Marco.Pms.Model.MongoDBModels
|
|
{
|
|
public class NotificationMongoDB
|
|
{
|
|
[BsonId]
|
|
[BsonRepresentation(BsonType.String)]
|
|
public Guid Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Body { get; set; } = string.Empty;
|
|
public string Parameters { get; set; } = string.Empty; // Comma seprated variable needed for dynamic notifications
|
|
|
|
[BsonRepresentation(BsonType.String)]
|
|
public Guid TenantId { get; set; }
|
|
}
|
|
}
|