Make Film entity more consistent with other entities

This commit is contained in:
Timothy Warren 2018-02-14 17:01:18 -05:00
parent 26e0b8a6fc
commit cbdccc0fb1

View File

@ -33,56 +33,56 @@ class Film {
* *
* @ORM\Column(name="product_line", type="string", nullable=false) * @ORM\Column(name="product_line", type="string", nullable=false)
*/ */
private $product_line; private $productLine;
/** /**
* @var string * @var string
* *
* @ORM\Column(name="film_name", type="string", nullable=false) * @ORM\Column(name="film_name", type="string", nullable=false)
*/ */
private $film_name; private $filmName;
/** /**
* @var int * @var int
* *
* @ORM\Column(name="film_speed_asa", type="integer", nullable=false) * @ORM\Column(name="film_speed_asa", type="integer", nullable=false)
*/ */
private $film_speed_asa; private $filmSpeedAsa;
/** /**
* @var int * @var int
* *
* @ORM\Column(name="film_speed_din", type="integer", nullable=false) * @ORM\Column(name="film_speed_din", type="integer", nullable=false)
*/ */
private $film_speed_din; private $filmSpeedDin;
/** /**
* @var string * @var string
* *
* @ORM\Column(name="film_format", type="string", nullable=false) * @ORM\Column(name="film_format", type="string", nullable=false)
*/ */
private $film_format; private $filmFormat;
/** /**
* @var string * @var string
* *
* @ORM\Column(name="film_base", type="string", nullable=false, options={"default"="Cellulose Triacetate"}) * @ORM\Column(name="film_base", type="string", nullable=false, options={"default"="Cellulose Triacetate"})
*/ */
private $film_base; private $filmBase;
/** /**
* @var int * @var int
* *
* @ORM\Column(name="unused_rolls", type="integer", nullable=false, options={"default"=0}) * @ORM\Column(name="unused_rolls", type="integer", nullable=false, options={"default"=0})
*/ */
private $unused_rolls; private $unusedRolls;
/** /**
* @var int * @var int
* *
* @ORM\Column(name="developed_rolls", type="integer", nullable=false, options={"default"=0}) * @ORM\Column(name="developed_rolls", type="integer", nullable=false, options={"default"=0})
*/ */
private $developed_rolls; private $developedRolls;
/** /**
* @var string * @var string
@ -121,16 +121,16 @@ class Film {
*/ */
public function getProductLine(): string public function getProductLine(): string
{ {
return $this->product_line; return $this->productLine;
} }
/** /**
* @param string $product_line * @param string $productLine
* @return self * @return self
*/ */
public function setProductLine(string $product_line): self public function setProductLine(string $productLine): self
{ {
$this->product_line = $product_line; $this->productLine = $productLine;
return $this; return $this;
} }
@ -139,16 +139,16 @@ class Film {
*/ */
public function getFilmName(): string public function getFilmName(): string
{ {
return $this->film_name; return $this->filmName;
} }
/** /**
* @param string $film_name * @param string $filmName
* @return self * @return self
*/ */
public function setFilmName(string $film_name): self public function setFilmName(string $filmName): self
{ {
$this->film_name = $film_name; $this->filmName = $filmName;
return $this; return $this;
} }
@ -157,16 +157,16 @@ class Film {
*/ */
public function getFilmSpeedAsa(): int public function getFilmSpeedAsa(): int
{ {
return $this->film_speed_asa; return $this->filmSpeedAsa;
} }
/** /**
* @param int $film_speed_asa * @param int $filmSpeedAsa
* @return self * @return self
*/ */
public function setFilmSpeedAsa(int $film_speed_asa): self public function setFilmSpeedAsa(int $filmSpeedAsa): self
{ {
$this->film_speed_asa = $film_speed_asa; $this->filmSpeedAsa = $filmSpeedAsa;
return $this; return $this;
} }
@ -175,16 +175,16 @@ class Film {
*/ */
public function getFilmSpeedDin(): int public function getFilmSpeedDin(): int
{ {
return $this->film_speed_din; return $this->filmSpeedDin;
} }
/** /**
* @param int $film_speed_din * @param int $filmSpeedDin
* @return self * @return self
*/ */
public function setFilmSpeedDin(int $film_speed_din): self public function setFilmSpeedDin(int $filmSpeedDin): self
{ {
$this->film_speed_din = $film_speed_din; $this->filmSpeedDin = $filmSpeedDin;
return $this; return $this;
} }
@ -193,16 +193,16 @@ class Film {
*/ */
public function getFilmFormat(): string public function getFilmFormat(): string
{ {
return $this->film_format; return $this->filmFormat;
} }
/** /**
* @param string $film_format * @param string $filmFormat
* @return self * @return self
*/ */
public function setFilmFormat(string $film_format): self public function setFilmFormat(string $filmFormat): self
{ {
$this->film_format = $film_format; $this->filmFormat = $filmFormat;
return $this; return $this;
} }
@ -211,16 +211,16 @@ class Film {
*/ */
public function getFilmBase(): string public function getFilmBase(): string
{ {
return $this->film_base; return $this->filmBase;
} }
/** /**
* @param string $film_base * @param string $filmBase
* @return self * @return self
*/ */
public function setFilmBase(string $film_base): self public function setFilmBase(string $filmBase): self
{ {
$this->film_base = $film_base; $this->filmBase = $filmBase;
return $this; return $this;
} }
@ -229,16 +229,16 @@ class Film {
*/ */
public function getUnusedRolls(): int public function getUnusedRolls(): int
{ {
return $this->unused_rolls; return $this->unusedRolls;
} }
/** /**
* @param int $unused_rolls * @param int $unusedRolls
* @return self * @return self
*/ */
public function setUnusedRolls(int $unused_rolls): self public function setUnusedRolls(int $unusedRolls): self
{ {
$this->unused_rolls = $unused_rolls; $this->unusedRolls = $unusedRolls;
return $this; return $this;
} }
@ -247,16 +247,16 @@ class Film {
*/ */
public function getDevelopedRolls(): int public function getDevelopedRolls(): int
{ {
return $this->developed_rolls; return $this->developedRolls;
} }
/** /**
* @param int $developed_rolls * @param int $developedRolls
* @return self * @return self
*/ */
public function setDevelopedRolls(int $developed_rolls): self public function setDevelopedRolls(int $developedRolls): self
{ {
$this->developed_rolls = $developed_rolls; $this->developedRolls = $developedRolls;
return $this; return $this;
} }