src/Entity/ReadFilesData.php line 13

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5.  * ReadFilesData
  6.  * @ORM\Table(name="read_files_data")
  7.  * @ORM\Entity(repositoryClass="App\Repository\ReadFilesDataRepository")
  8.  * @ORM\HasLifecycleCallbacks
  9.  */
  10. class ReadFilesData {
  11.     /**
  12.      * android lo sube
  13.      */
  14.     const STATUS_STANDBY 0;
  15.     /**
  16.      * esta listo para ser cargado en el sistema
  17.      */
  18.     const STATUS_UPLOADED 1;
  19.     /**
  20.      * la respuesta esta lista para ser entregada
  21.      */
  22.     const STATUS_PENDING_DELIVER 2;
  23.     /**
  24.      * ya se entrego el json de respuesta
  25.      */
  26.     const STATUS_DELIVERED 3;
  27.     /**
  28.      * @var integer
  29.      * @ORM\Column(name="rf_id", type="integer")
  30.      * @ORM\Id
  31.      * @ORM\GeneratedValue(strategy="IDENTITY")
  32.      */
  33.     private $id;
  34.     /**
  35.      * @var string
  36.      * @ORM\Column(name="rf_name_file", type="string", length=255, nullable=true)
  37.      */
  38.     private $rfNameFile;
  39.     /**
  40.      * @var integer
  41.      * @ORM\Column(name="rf_status", type="integer", length=11, nullable=false, options={"default":"0"})
  42.      */
  43.     private $rfStatus;
  44.     /**
  45.      * @var \App\Entity\AccountLicense
  46.      * @ORM\ManyToOne(targetEntity="App\Entity\AccountLicense")
  47.      * @ORM\JoinColumns({
  48.      *   @ORM\JoinColumn(name="rf_license_id", referencedColumnName="al_id", onDelete="CASCADE")
  49.      * })
  50.      */
  51.     private $rfLicenseId;
  52.     /**
  53.      * @var \DateTime
  54.      * @ORM\Column(name="rf_date_sinc_ask", type="datetime")
  55.      */
  56.     private $rfDateSincAsk;
  57.     /**
  58.      * @var \DateTime
  59.      * @ORM\Column(name="rf_date_upload", type="datetime", nullable=true)
  60.      */
  61.     private $rfDateUpload;
  62.     /**
  63.      * @var string
  64.      * @ORM\Column(name="rf_name_file_deliver", type="string", length=255, nullable=true)
  65.      */
  66.     private $rfDeliverNameFile;
  67.     /**
  68.      * @var \DateTime
  69.      * @ORM\Column(name="rf_date_delivered", type="datetime", nullable=true)
  70.      */
  71.     private $rfDateDelivered;
  72.     /**
  73.      * @var boolean
  74.      * @ORM\Column(name="rf_isreaded_server", type="boolean", nullable=true, options={"default":"0"})
  75.      */
  76.     private $isReadedByServer;
  77.     /**
  78.      * @var boolean
  79.      * @ORM\Column(name="rf_application_mode", type="boolean", nullable=true, options={"default":"1"})
  80.      */
  81.     private $applicationMode;
  82.     /**
  83.      * @var boolean
  84.      * @ORM\Column(name="rf_has_error", type="boolean", nullable=true, options={"default":"0"})
  85.      */
  86.     private $hasPersistentError false;
  87.     /**
  88.      * @var array
  89.      * @ORM\Column(name="rf_obtained_error", type="json", nullable=true)
  90.      */
  91.     private $obtainedError;
  92.     /**
  93.      * @var string
  94.      * @ORM\Column(name="rf_file_in_s3_uri", type="string", length=255, nullable=true)
  95.      */
  96.     private $fileInS3URI;
  97.     /**
  98.      * @var string
  99.      * @ORM\Column(name="rf_file_response_in_s3_uri", type="string", length=255, nullable=true)
  100.      */
  101.     private $fileResponseInS3URI;
  102.     /**
  103.      * @return type
  104.      */
  105.     public function getId() {
  106.         return $this->id;
  107.     }
  108.     /**
  109.      * @return type
  110.      */
  111.     public function getFileInS3URI() {
  112.         return $this->fileInS3URI;
  113.     }
  114.     /**
  115.      * @param type $rfNameFile
  116.      */
  117.     public function setFileInS3URI($fileInS3URI) {
  118.         $this->fileInS3URI $fileInS3URI;
  119.     }
  120.     /**
  121.      * @return type
  122.      */
  123.     public function getFileResponseInS3URI() {
  124.         return $this->fileResponseInS3URI;
  125.     }
  126.     /**
  127.      * @param type $rfNameFile
  128.      */
  129.     public function setFileResponseInS3URI($fileResponseInS3URI) {
  130.         $this->fileResponseInS3URI $fileResponseInS3URI;
  131.     }
  132.     /**
  133.      * @return type
  134.      */
  135.     public function getRfNameFile() {
  136.         return $this->rfNameFile;
  137.     }
  138.     /**
  139.      * @param type $rfNameFile
  140.      */
  141.     public function setRfNameFile($rfNameFile) {
  142.         $this->rfNameFile $rfNameFile;
  143.     }
  144.     /**
  145.      * @return type
  146.      */
  147.     public function getRfDeliverNameFile() {
  148.         return $this->rfDeliverNameFile;
  149.     }
  150.     /**
  151.      * @param type $rfDeliverNameFile
  152.      */
  153.     public function setRfDeliverNameFile($rfDeliverNameFile) {
  154.         $this->rfDeliverNameFile $rfDeliverNameFile;
  155.     }
  156.     /**
  157.      * @return type
  158.      */
  159.     public function getRfStatus() {
  160.         return $this->rfStatus;
  161.     }
  162.     /**
  163.      * @param type $rfStatus
  164.      */
  165.     public function setRfStatus($rfStatus) {
  166.         $this->rfStatus $rfStatus;
  167.     }
  168.     /**
  169.      * @return type
  170.      */
  171.     public function getRfLicenseId() {
  172.         return $this->rfLicenseId;
  173.     }
  174.     /**
  175.      * @param \App\Entity\AccountLicense $rfLicenseId
  176.      */
  177.     public function setRfLicenseId(\App\Entity\AccountLicense $rfLicenseId) {
  178.         $this->rfLicenseId $rfLicenseId;
  179.     }
  180.     /**
  181.      * @return type
  182.      */
  183.     public function getRfDateSincAsk() {
  184.         return $this->rfDateSincAsk;
  185.     }
  186.     /**
  187.      * @param \DateTime $rfDateSincAsk
  188.      */
  189.     public function setRfDateSincAsk(\DateTime $rfDateSincAsk) {
  190.         $this->rfDateSincAsk $rfDateSincAsk;
  191.     }
  192.     /**
  193.      * @return type
  194.      */
  195.     public function getRfDateUpload() {
  196.         return $this->rfDateUpload;
  197.     }
  198.     /**
  199.      * @param \DateTime $rfDateUpload
  200.      */
  201.     public function setRfDateUpload(\DateTime $rfDateUpload) {
  202.         $this->rfDateUpload $rfDateUpload;
  203.     }
  204.     /**
  205.      * @return type
  206.      */
  207.     public function getRfDateDelivered() {
  208.         return $this->rfDateDelivered;
  209.     }
  210.     /**
  211.      * @param \DateTime $rfDateDelivered
  212.      */
  213.     public function setRfDateDelivered(\DateTime $rfDateDelivered) {
  214.         $this->rfDateDelivered $rfDateDelivered;
  215.     }
  216.     /**
  217.      * @return type
  218.      */
  219.     public function getIsReadedByServer() {
  220.         return $this->isReadedByServer;
  221.     }
  222.     /**
  223.      * @param type $isReadedByServer
  224.      */
  225.     public function setIsReadedByServer($isReadedByServer) {
  226.         $this->isReadedByServer $isReadedByServer;
  227.     }
  228.     /**
  229.      * @return type
  230.      */
  231.     public function getApplicationMode() {
  232.         return $this->applicationMode;
  233.     }
  234.     /**
  235.      * @param type $applicationMode
  236.      */
  237.     public function setApplicationMode($applicationMode) {
  238.         $this->applicationMode $applicationMode;
  239.     }
  240.     /**
  241.      * @return type
  242.      */
  243.     public function getHasPersistentError() {
  244.         return $this->hasPersistentError;
  245.     }
  246.     /**
  247.      * @param type $hasPersistentError
  248.      */
  249.     public function setHasPersistentError($hasPersistentError) {
  250.         $this->hasPersistentError $hasPersistentError;
  251.     }
  252.     /**
  253.      * @return type
  254.      */
  255.     public function getObtainedError() {
  256.         return $this->obtainedError;
  257.     }
  258.     /**
  259.      * @param type $obtainedError
  260.      */
  261.     public function setObtainedError($obtainedError) {
  262.         $this->obtainedError $obtainedError;
  263.     }
  264. }