Advertisement
Guest User

Untitled

a guest
May 31st, 2012
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. ///....
  2. /**
  3. * @var string $name
  4. *
  5. * @ORM\Column(name="name", type="string", length=255)
  6. */
  7. private $name;
  8.  
  9. /**
  10. * @var date $birthday
  11. *
  12. * @ORM\Column(name="birthday", type="date", nullable=true)
  13. */
  14. private $birthday;
  15.  
  16.  
  17.  
  18. /**
  19. * Set birthday
  20. *
  21. * @param date $birthday
  22. */
  23. public function setBirthday($birthday)
  24. {
  25. $this->birthday = $birthday;
  26. }
  27.  
  28. /**
  29. * Get birthday
  30. *
  31. * @return date
  32. */
  33. public function getBirthday()
  34. {
  35. return $this->birthday;
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement