Guest User

Untitled

a guest
May 17th, 2016
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.68 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Model\Blog;
  4.  
  5. use Dero\Data\Contract;
  6.  
  7. class Post extends Contract
  8. {
  9.     /** @var int */
  10.     public $post_id;
  11.  
  12.     /** @var  int */
  13.     public $user_id;
  14.  
  15.     /** @var  string */
  16.     public $username;
  17.  
  18.     /** @var  int|null */
  19.     public $parent_id;
  20.  
  21.     /** @var  string */
  22.     public $title;
  23.  
  24.     /** @var  string */
  25.     public $body;
  26.  
  27.     /** @var  string */
  28.     public $rawBody;
  29.  
  30.     /** @var  bool */
  31.     public $active;
  32.  
  33.     /** @var  bool */
  34.     public $featured;
  35.  
  36.     /** @var  bool */
  37.     public $published;
  38.  
  39.     /** @var  string|\Datetime */
  40.     public $created;
  41.  
  42.     /** @var  string|\Datetime */
  43.     public $modified;
  44. }
Add Comment
Please, Sign In to add comment