Advertisement
Guest User

Untitled

a guest
May 28th, 2015
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.59 KB | None | 0 0
  1. <?php
  2.  
  3. namespace AppBundle\Entity;
  4.  
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Chiave\CoreBundle\Entity\Base;
  7.  
  8. /**
  9.  * Programy nauczania
  10.  *
  11.  * @ORM\Table(name="curriculum")
  12.  * @ORM\Entity
  13.  */
  14. class Curriculum extends Base
  15. {
  16.     /**
  17.      * @ORM\Column(name="title", type="string")
  18.      */
  19.     private $title;
  20.  
  21.     /**
  22.      * @ORM\Column(name="authorship", type="string")
  23.      */
  24.     private $authorship;
  25.  
  26.     /**
  27.      * @ORM\Column(name="group", type="string")
  28.      */
  29.     private $group
  30.  
  31.  
  32.     /**
  33.      * Set title
  34.      *
  35.      * @param string $title
  36.      * @return Curriculum
  37.      */
  38.     public function setTitle($title)
  39.     {
  40.         $this->title = $title;
  41.  
  42.         return $this;
  43.     }
  44.  
  45.     /**
  46.      * Get title
  47.      *
  48.      * @return string
  49.      */
  50.     public function getTitle()
  51.     {
  52.         return $this->title;
  53.     }
  54.  
  55.     /**
  56.      * Set authorship
  57.      *
  58.      * @param string $authorship
  59.      * @return Curriculum
  60.      */
  61.     public function setAuthorship($authorship)
  62.     {
  63.         $this->authorship = $authorship;
  64.  
  65.         return $this;
  66.     }
  67.  
  68.     /**
  69.      * Get authorship
  70.      *
  71.      * @return string
  72.      */
  73.     public function getAuthorship()
  74.     {
  75.         return $this->authorship;
  76.     }
  77.  
  78.     /**
  79.      * Set group
  80.      *
  81.      * @param string $group
  82.      * @return Curriculum
  83.      */
  84.     public function setGroup($group)
  85.     {
  86.         $this->group = $group;
  87.  
  88.         return $this;
  89.     }
  90.  
  91.     /**
  92.      * Get group
  93.      *
  94.      * @return string
  95.      */
  96.     public function getGroup()
  97.     {
  98.         return $this->group;
  99.     }
  100. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement