summaryrefslogtreecommitdiff
path: root/src/application/mystic/forum/orm/PendingEmail.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/mystic/forum/orm/PendingEmail.php')
-rw-r--r--src/application/mystic/forum/orm/PendingEmail.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/application/mystic/forum/orm/PendingEmail.php b/src/application/mystic/forum/orm/PendingEmail.php
new file mode 100644
index 0000000..70622b3
--- /dev/null
+++ b/src/application/mystic/forum/orm/PendingEmail.php
@@ -0,0 +1,19 @@
+<?php
+
+namespace mystic\forum\orm;
+
+use mystic\forum\attributes\PrimaryKey;
+use mystic\forum\attributes\Table;
+use mystic\forum\orm\Entity;
+
+#[Table("public.emails")]
+class PendingEmail extends Entity {
+ #[PrimaryKey] public string $id;
+ public string $sender;
+ public string $recipient;
+ public string $subject;
+ public ?string $htmlBody;
+ public ?string $plaintextBody;
+
+ // TODO Attachments
+}