summaryrefslogtreecommitdiff
path: root/src/application/mystic/forum/attributes/Column.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/application/mystic/forum/attributes/Column.php')
-rw-r--r--src/application/mystic/forum/attributes/Column.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/application/mystic/forum/attributes/Column.php b/src/application/mystic/forum/attributes/Column.php
new file mode 100644
index 0000000..aee47a2
--- /dev/null
+++ b/src/application/mystic/forum/attributes/Column.php
@@ -0,0 +1,11 @@
+<?php
+
+namespace mystic\forum\attributes;
+
+#[\Attribute(\Attribute::TARGET_PROPERTY)]
+class Column {
+ public function __construct(
+ public readonly ?string $columnName = null,
+ public readonly ?string $columnType = null,
+ ) {}
+}