editing class NotificationEntity