src/Entity/Manufacturer.php line 18

Open in your IDE?
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: parcel
  5. * Date: 9/28/18
  6. * Time: 7:50 AM
  7. */
  8. namespace App\Entity;
  9. use Doctrine\ORM\Mapping as ORM;
  10. /**
  11. * @ORM\Entity
  12. * @ORM\Table(name="manufacturer")
  13. */
  14. class Manufacturer {
  15. /**
  16. * @ORM\Id
  17. * @ORM\GeneratedValue(strategy="IDENTITY")
  18. * @ORM\Column(type="integer")
  19. */
  20. private $id;
  21. /**
  22. * @ORM\Column(type="string", length=15)
  23. */
  24. private $manufacturerName;
  25. /**
  26. * @return mixed
  27. */
  28. public function getId()
  29. {
  30. return $this->id;
  31. }
  32. /**
  33. * @param mixed $id
  34. */
  35. public function setId($id)
  36. {
  37. $this->id = $id;
  38. }
  39. /**
  40. * @return mixed
  41. */
  42. public function getManufacturerName()
  43. {
  44. return $this->manufacturerName;
  45. }
  46. /**
  47. * @param mixed $manufacturerName
  48. */
  49. public function setManufacturerName($manufacturerName)
  50. {
  51. $this->manufacturerName = $manufacturerName;
  52. }
  53. }