124 lines
2.5 KiB
PHP
124 lines
2.5 KiB
PHP
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
use Doctrine\ORM\Mapping as ORM;
|
|
use Doctrine\Common\Collections\ArrayCollection;
|
|
|
|
/**
|
|
* @ORM\Entity
|
|
* @ORM\Table(name="jo_extra")
|
|
*/
|
|
class JOExtra
|
|
{
|
|
// unique id
|
|
/**
|
|
* @ORM\Id
|
|
* @ORM\Column(type="integer")
|
|
* @ORM\GeneratedValue(strategy="AUTO")
|
|
*/
|
|
protected $id;
|
|
|
|
/**
|
|
* @ORM\Column(type="string", nullable=true)
|
|
*/
|
|
protected $after_speed_image_filename;
|
|
|
|
/**
|
|
* @ORM\Column(type="string", nullable=true)
|
|
*/
|
|
protected $after_plate_num_image_filename;
|
|
|
|
/**
|
|
* @ORM\Column(type="string", nullable=true)
|
|
*/
|
|
protected $after_batt_image_filename;
|
|
|
|
/**
|
|
* @ORM\Column(type="array", nullable=true)
|
|
*/
|
|
protected $after_other_images;
|
|
|
|
/**
|
|
* @ORM\Column(type="string", nullable=true)
|
|
*/
|
|
protected $cust_signature;
|
|
|
|
|
|
public function __construct()
|
|
{
|
|
$this->after_other_images = new ArrayCollection();
|
|
}
|
|
|
|
public function getID()
|
|
{
|
|
return $this->id;
|
|
}
|
|
|
|
public function setAfterSpeedImageFilename($image_filename)
|
|
{
|
|
$this->after_speed_image_filename = $image_filename;
|
|
return $this;
|
|
}
|
|
|
|
public function getAfterSpeedImageFilename()
|
|
{
|
|
return $this->after_speed_image_filename;
|
|
}
|
|
|
|
public function setAfterPlateNumImageFilename($image_filename)
|
|
{
|
|
$this->after_plate_num_image_filename = $image_filename;
|
|
return $this;
|
|
}
|
|
|
|
public function getAfterPlateNumImageFilename()
|
|
{
|
|
return $this->after_plate_num_image_filename;
|
|
}
|
|
|
|
public function setAfterBattImageFilename($image_filename)
|
|
{
|
|
$this->after_batt_image_filename = $image_filename;
|
|
return $this;
|
|
}
|
|
|
|
public function getAfterBattImageFilename()
|
|
{
|
|
return $this->after_batt_image_filename;
|
|
}
|
|
|
|
public function getAfterOtherImages()
|
|
{
|
|
return $this->after_other_images;
|
|
}
|
|
|
|
public function setAfterOtherImages(array $images)
|
|
{
|
|
$this->after_other_images = new ArrayCollection();
|
|
|
|
foreach ($images as $image_filename)
|
|
{
|
|
$this->after_other_images->add($image_filename);
|
|
}
|
|
|
|
return $this;
|
|
}
|
|
|
|
public function clearAfterOtherImages()
|
|
{
|
|
$this->after_other_images = new ArrayCollection();
|
|
return $this;
|
|
}
|
|
|
|
public function setCustomerSignature($sig_file)
|
|
{
|
|
$this->cust_signature = $sig_file;
|
|
return $this;
|
|
}
|
|
|
|
public function getCustomerSignature()
|
|
{
|
|
return $this->cust_signature;
|
|
}
|
|
}
|