Advertisement
fahmihilmansyah

entity1

Apr 9th, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.54 KB | None | 0 0
  1. <?php
  2.  
  3. namespace Cba\PagesBundle\Entity;
  4.  
  5. use Doctrine\ORM\Mapping as ORM;
  6.  
  7.  
  8. /**
  9.  * @ORM\Entity
  10.  * @ORM\Table(name="users")
  11.  */
  12. class Users  
  13. {
  14.      /**
  15.      * @ORM\Column(type="integer")
  16.      * @ORM\Id
  17.      * @ORM\GeneratedValue(strategy="AUTO")
  18.      */
  19.      protected $id;
  20.  
  21.      /**
  22.      * @ORM\Column(type="string", length=25)
  23.      */
  24.     protected $nama;
  25.     /**
  26.      * @ORM\Column(type="string", length=25)
  27.      */
  28.    
  29.     protected $username;
  30.     /**
  31.      * @ORM\Column(type="string", length=32)
  32.      */
  33.     protected $password;
  34.  
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement