aboutsummaryrefslogtreecommitdiffstats
path: root/core/namespace/ORM/Entities
diff options
context:
space:
mode:
Diffstat (limited to 'core/namespace/ORM/Entities')
-rw-r--r--core/namespace/ORM/Entities/Page.php14
-rw-r--r--core/namespace/ORM/Entities/Post.php14
-rw-r--r--core/namespace/ORM/Entities/User.php16
3 files changed, 44 insertions, 0 deletions
diff --git a/core/namespace/ORM/Entities/Page.php b/core/namespace/ORM/Entities/Page.php
new file mode 100644
index 0000000..94e5ff5
--- /dev/null
+++ b/core/namespace/ORM/Entities/Page.php
@@ -0,0 +1,14 @@
+<?php
+namespace ORM\Entities;
+use ORM\Entity;
+
+class Page extends Entity {
+ protected $id = FALSE;
+ protected $user = FALSE;
+ protected $slug = FALSE;
+ protected $name = FALSE;
+ protected $body = FALSE;
+ protected $argv = FALSE;
+ protected $time_insert = FALSE;
+ protected $time_update = FALSE;
+}
diff --git a/core/namespace/ORM/Entities/Post.php b/core/namespace/ORM/Entities/Post.php
new file mode 100644
index 0000000..e6bff36
--- /dev/null
+++ b/core/namespace/ORM/Entities/Post.php
@@ -0,0 +1,14 @@
+<?php
+namespace ORM\Entities;
+use ORM\Entity;
+
+class Post extends Entity {
+ protected $id = FALSE;
+ protected $user = FALSE;
+ protected $slug = FALSE;
+ protected $name = FALSE;
+ protected $body = FALSE;
+ protected $argv = FALSE;
+ protected $time_insert = FALSE;
+ protected $time_update = FALSE;
+}
diff --git a/core/namespace/ORM/Entities/User.php b/core/namespace/ORM/Entities/User.php
new file mode 100644
index 0000000..f0c9a1f
--- /dev/null
+++ b/core/namespace/ORM/Entities/User.php
@@ -0,0 +1,16 @@
+<?php
+namespace ORM\Entities;
+use ORM\Entity;
+
+class User extends Entity {
+ protected $id = FALSE;
+ protected $slug = FALSE;
+ protected $username = FALSE;
+ protected $password = FALSE;
+ protected $fullname = FALSE;
+ protected $mailaddr = FALSE;
+ protected $body = FALSE;
+ protected $argv = FALSE;
+ protected $time_insert = FALSE;
+ protected $time_update = FALSE;
+}