<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use App\Entity\SyncParentSuperClass;
use App\Util\UUIDGeneratorUtil;
use Doctrine\ORM\Mapping\HasLifecycleCallbacks;
use App\Util\Util;
use Doctrine\Common\Collections\ArrayCollection;
use DateTime;
/**
* @HasLifecycleCallbacks
* @ORM\Table(name="file_sync_data")
* @ORM\Entity
*/
class FileSyncData {
const PENDING = 0;
const PROCESS_LICENSOR = 1;
const FILE_LICENSOR = 2;
const FILE_S3 = 3;
const PROCESS_OMT = 4;
const PROCESS_COMPLIT = 10;
const ERROR_LICENSOR = 98;
const ERROR_OMT = 99;
/**
* @var integer
* @ORM\Column(name="fsd_id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @var string
*
* @ORM\Column(name="fsd_restaurant_nickname", type="string", length=50, nullable=true)
*/
private $restNickname;
/**
* @var string
* @ORM\Column(name="fsd_file_data_name", type="string", length=50, nullable=true)
*/
private $fileDataName;
/**
* @var text
* @ORM\Column(name="fsd_description", type="text", nullable=true)
*/
private $description;
/**
* @ORM\Column(name="fsd_created", type="datetime", nullable=true)
*/
private $created;
/**
* @var smallint
* @ORM\Column(name="fsd_status", type="smallint", nullable=true, options={"default":1})
*/
private $status;
/**
* @var text
* @ORM\Column(name="fsd_file_path", type="text", nullable=true)
*/
private $fileDatapath;
/**
* @var boolean
* @ORM\Column(name="fsd_file_s3", type="boolean", nullable=true, options={"default":false})
*/
private $fileS3;
/**
* Get the value of fileDataName
*/
public function getFileDataName(){
return $this->fileDataName;
}
/**
* Set the value of fileDataName
*/
public function setFileDataName($fileDataName){
$this->fileDataName = $fileDataName;
return $this;
}
/**
* Get the value of restNickname
*/
public function getRestNickname(){
return $this->restNickname;
}
/**
* Set the value of restNickname
*/
public function setRestNickname($restNickname){
$this->restNickname = $restNickname;
return $this;
}
/**
* Get the value of description
*/
public function getDescription(){
return $this->description;
}
/**
* Set the value of description
*/
public function setDescription($description){
$this->description = $description;
return $this;
}
/**
* Get the value of created
*/
public function getCreated(){
return $this->created;
}
/**
* Set the value of created
*/
public function setCreated($created){
$this->created = $created;
return $this;
}
/**
* Get the value of status
*/
public function getStatus(){
return $this->status;
}
/**
* Set the value of status
*/
public function setStatus($status){
$this->status = $status;
return $this;
}
/**
* Get the value of fileDatapath
*/
public function getFileDatapath(){
return $this->fileDatapath;
}
/**
* Set the value of fileDatapath
*/
public function setFileDatapath($fileDatapath){
$this->fileDatapath = $fileDatapath;
return $this;
}
/**
* Get the value of fileS3
*/
public function getFileS3(){
return $this->fileS3;
}
/**
* Set the value of fileS3
*/
public function setFileS3($fileS3){
$this->fileS3 = $fileS3;
return $this;
}
/**
* Get the value of id
*/
public function getId(){
return $this->id;
}
/**
* Set the value of id
*/
public function setId($id){
$this->id = $id;
return $this;
}
}