SHARE
TWEET

MoviePersonModel

a guest Oct 4th, 2017 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class MoviePersonModel
  2. {
  3.     //Movie columns:
  4.     /**
  5.      * @ORM\Column(type="string")
  6.      * @Assert\NotBlank()
  7.      */
  8.     protected $movie_name;
  9.     /**
  10.      * @ORM\Column(type="integer")
  11.      * @Assert\NotBlank()
  12.      */
  13.     protected $movie_year;
  14.     /**
  15.      * @ORM\Column(type="string", nullable=true)
  16.      */
  17.     protected $movie_description;
  18.  
  19.     //Role columns:
  20.     /**
  21.      * @ORM\Column(type="string")
  22.      */
  23.     protected $role_name;
  24.  
  25.     /**
  26.      * @ORM\Column(type="integer")
  27.      */
  28.     protected $person_id;
  29.  
  30.     //Person column:
  31.     /**
  32.      * @ORM\Column(type="string")
  33.      */
  34.     protected $person_name;
  35.  
  36.     /**
  37.      * @return mixed
  38.      */
  39.     public function getMovieName()
  40.     {
  41.         return $this->movie_name;
  42.     }
  43.  
  44.     /**
  45.      * @param mixed $movie_name
  46.      */
  47.     public function setMovieName($movie_name)
  48.     {
  49.         $this->movie_name = $movie_name;
  50.     }
  51.  
  52.     /**
  53.      * @return mixed
  54.      */
  55.     public function getMovieYear()
  56.     {
  57.         return $this->movie_year;
  58.     }
  59.  
  60.     /**
  61.      * @param mixed $movie_year
  62.      */
  63.     public function setMovieYear($movie_year)
  64.     {
  65.         $this->movie_year = $movie_year;
  66.     }
  67.  
  68.     /**
  69.      * @return mixed
  70.      */
  71.     public function getMovieDescription()
  72.     {
  73.         return $this->movie_description;
  74.     }
  75.  
  76.     /**
  77.      * @param mixed $movie_description
  78.      */
  79.     public function setMovieDescription($movie_description)
  80.     {
  81.         $this->movie_description = $movie_description;
  82.     }
  83.  
  84.     /**
  85.      * @return mixed
  86.      */
  87.     public function getPersonName()
  88.     {
  89.         return $this->person_name;
  90.     }
  91.  
  92.     /**
  93.      * @param mixed $person_name
  94.      */
  95.     public function setPersonName($person_name)
  96.     {
  97.         $this->person_name = $person_name;
  98.     }
  99.  
  100.     /**
  101.      * @return mixed
  102.      */
  103.     public function getRoleName()
  104.     {
  105.         return $this->role_name;
  106.     }
  107.  
  108.     /**
  109.      * @param mixed $role_name
  110.      */
  111.     public function setRoleName($role_name)
  112.     {
  113.         $this->role_name = $role_name;
  114.     }
  115.  
  116.     /**
  117.      * @return mixed
  118.      */
  119.     public function getPersonId()
  120.     {
  121.         return $this->person_id;
  122.     }
  123.  
  124.     /**
  125.      * @param mixed $person_id
  126.      */
  127.     public function setPersonId($person_id)
  128.     {
  129.         $this->person_id = $person_id;
  130.     }
  131.  
  132. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top