src/Entity/FileSyncData.php line 18

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use App\Entity\SyncParentSuperClass;
  5. use App\Util\UUIDGeneratorUtil;
  6. use Doctrine\ORM\Mapping\HasLifecycleCallbacks;
  7. use App\Util\Util;
  8. use Doctrine\Common\Collections\ArrayCollection;
  9. use DateTime;
  10. /**
  11.  * @HasLifecycleCallbacks
  12.  * @ORM\Table(name="file_sync_data")
  13.  * @ORM\Entity
  14.  */
  15. class FileSyncData {
  16.     const PENDING 0;
  17.     const PROCESS_LICENSOR 1;
  18.     const FILE_LICENSOR 2;
  19.     const FILE_S3 3;
  20.     const PROCESS_OMT 4;
  21.     const PROCESS_COMPLIT 10;
  22.     const ERROR_LICENSOR 98;
  23.     const ERROR_OMT 99;
  24.     /**
  25.      * @var integer
  26.      * @ORM\Column(name="fsd_id", type="integer")
  27.      * @ORM\Id
  28.      * @ORM\GeneratedValue(strategy="IDENTITY")
  29.      */
  30.     private $id;
  31.     /**
  32.      * @var string
  33.      *
  34.      * @ORM\Column(name="fsd_restaurant_nickname", type="string", length=50, nullable=true)
  35.      */
  36.     private $restNickname;
  37.     /**
  38.      * @var string
  39.      * @ORM\Column(name="fsd_file_data_name", type="string", length=50, nullable=true)
  40.      */
  41.     private $fileDataName;
  42.     /**
  43.      * @var text
  44.      * @ORM\Column(name="fsd_description", type="text", nullable=true)
  45.      */
  46.     private $description;
  47.     /**
  48.      * @ORM\Column(name="fsd_created", type="datetime", nullable=true)
  49.      */
  50.     private $created;
  51.     /**
  52.      * @var smallint
  53.      * @ORM\Column(name="fsd_status", type="smallint", nullable=true, options={"default":1})
  54.      */
  55.     private $status;
  56.     /**
  57.      * @var text
  58.      * @ORM\Column(name="fsd_file_path", type="text", nullable=true)
  59.      */
  60.     private $fileDatapath;
  61.     /**
  62.      * @var boolean
  63.      * @ORM\Column(name="fsd_file_s3", type="boolean", nullable=true, options={"default":false})
  64.      */
  65.     private $fileS3;
  66.     /**
  67.      * Get the value of fileDataName
  68.      */ 
  69.     public function getFileDataName(){
  70.         return $this->fileDataName;
  71.     }
  72.     /**
  73.      * Set the value of fileDataName
  74.      */ 
  75.     public function setFileDataName($fileDataName){
  76.         $this->fileDataName $fileDataName;
  77.         return $this;
  78.     }
  79.     /**
  80.      * Get the value of restNickname
  81.      */ 
  82.     public function getRestNickname(){
  83.         return $this->restNickname;
  84.     }
  85.     /**
  86.      * Set the value of restNickname
  87.      */ 
  88.     public function setRestNickname($restNickname){
  89.         $this->restNickname $restNickname;
  90.         return $this;
  91.     }
  92.     /**
  93.      * Get the value of description
  94.      */ 
  95.     public function getDescription(){
  96.         return $this->description;
  97.     }
  98.     /**
  99.      * Set the value of description
  100.      */ 
  101.     public function setDescription($description){
  102.         $this->description $description;
  103.         return $this;
  104.     }
  105.     /**
  106.      * Get the value of created
  107.      */ 
  108.     public function getCreated(){
  109.         return $this->created;
  110.     }
  111.     /**
  112.      * Set the value of created
  113.      */ 
  114.     public function setCreated($created){
  115.         $this->created $created;
  116.         return $this;
  117.     }
  118.     /**
  119.      * Get the value of status
  120.      */ 
  121.     public function getStatus(){
  122.         return $this->status;
  123.     }
  124.     /**
  125.      * Set the value of status
  126.      */ 
  127.     public function setStatus($status){
  128.         $this->status $status;
  129.         return $this;
  130.     }
  131.     /**
  132.      * Get the value of fileDatapath
  133.      */ 
  134.     public function getFileDatapath(){
  135.         return $this->fileDatapath;
  136.     }
  137.     /**
  138.      * Set the value of fileDatapath
  139.      */ 
  140.     public function setFileDatapath($fileDatapath){
  141.         $this->fileDatapath $fileDatapath;
  142.         return $this;
  143.     }
  144.     /**
  145.      * Get the value of fileS3
  146.      */ 
  147.     public function getFileS3(){
  148.         return $this->fileS3;
  149.     }
  150.     /**
  151.      * Set the value of fileS3
  152.      */ 
  153.     public function setFileS3($fileS3){
  154.         $this->fileS3 $fileS3;
  155.         return $this;
  156.     }
  157.     /**
  158.      * Get the value of id
  159.      */ 
  160.     public function getId(){
  161.         return $this->id;
  162.     }
  163.     /**
  164.      * Set the value of id
  165.      */ 
  166.     public function setId($id){
  167.         $this->id $id;
  168.         return $this;
  169.     }
  170. }