aboutsummaryrefslogtreecommitdiffstats
path: root/src/notifier/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifier/models.py')
-rw-r--r--src/notifier/models.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/notifier/models.py b/src/notifier/models.py
index 0af748b..03e23b3 100644
--- a/src/notifier/models.py
+++ b/src/notifier/models.py
@@ -47,3 +47,10 @@ class Emailed(models.Model):
on_delete=models.CASCADE,
related_name="over_mail"
)
+
+
+class Email(models.Model):
+ sent = models.BooleanField(default=False)
+ title = models.CharField(max_length=150)
+ message = models.TextField()
+ recipient = models.CharField(max_length=150)