2014-01-10 17:03:00 +11:00
|
|
|
|
using System;
|
|
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
|
namespace Umbraco.Cms.Core.Models
|
2014-01-10 17:03:00 +11:00
|
|
|
|
{
|
2014-05-08 11:38:05 +10:00
|
|
|
|
public class Notification
|
2014-01-10 17:03:00 +11:00
|
|
|
|
{
|
2022-02-24 09:24:56 +01:00
|
|
|
|
public Notification(int entityId, int userId, string action, Guid? entityType)
|
2014-01-10 17:03:00 +11:00
|
|
|
|
{
|
|
|
|
|
|
EntityId = entityId;
|
|
|
|
|
|
UserId = userId;
|
|
|
|
|
|
Action = action;
|
|
|
|
|
|
EntityType = entityType;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public int EntityId { get; private set; }
|
|
|
|
|
|
public int UserId { get; private set; }
|
|
|
|
|
|
public string Action { get; private set; }
|
2022-02-24 09:24:56 +01:00
|
|
|
|
public Guid? EntityType { get; private set; }
|
2014-01-10 17:03:00 +11:00
|
|
|
|
}
|
|
|
|
|
|
}
|