Files
ihrm/notifications/models.py
Ashwanth Balakrishnan 58be33a8d7 Added Pre-Commit Hooks (#175)
* Added pre commit hook

* Run pre commit hook on all files

---------

Co-authored-by: Horilla <131998600+horilla-opensource@users.noreply.github.com>
2024-05-07 12:23:36 +05:30

17 lines
672 B
Python

from django.db import models
from swapper import swappable_setting
from .base.models import AbstractNotification, notify_handler # noqa
class Notification(AbstractNotification):
verb_en = models.CharField(max_length=255, default="", null=True)
verb_ar = models.CharField(max_length=255, default="", null=True)
verb_de = models.CharField(max_length=255, default="", null=True)
verb_es = models.CharField(max_length=255, default="", null=True)
verb_fr = models.CharField(max_length=255, default="", null=True)
class Meta(AbstractNotification.Meta):
abstract = False
swappable = swappable_setting("notifications", "Notification")