first try of using decorator for BaseNotificationEntity