diff options
author | Thomas Lange <code@nerdmind.de> | 2021-06-25 22:13:59 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-06-25 22:13:59 +0200 |
commit | a86bdc6b5bab78b4026f44161413f4e482df42e4 (patch) | |
tree | 76ffd745780671371272e97b3eeac85e154e236e /core/namespace/ORM/Entities | |
parent | 366d0de19c012821ef587d5fdb9557c339b43303 (diff) | |
download | blog-a86bdc6b5bab78b4026f44161413f4e482df42e4.tar.gz blog-a86bdc6b5bab78b4026f44161413f4e482df42e4.tar.xz blog-a86bdc6b5bab78b4026f44161413f4e482df42e4.zip |
Reorganize namespaces
Diffstat (limited to 'core/namespace/ORM/Entities')
-rw-r--r-- | core/namespace/ORM/Entities/Page.php | 14 | ||||
-rw-r--r-- | core/namespace/ORM/Entities/Post.php | 14 | ||||
-rw-r--r-- | core/namespace/ORM/Entities/User.php | 16 |
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; +} |