src/OfficeBrain/Bundle/RequestQuoteBundle/Entity/RequestQuoteComment.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\OfficeBrain\Bundle\RequestQuoteBundle\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Gedmo\Mapping\Annotation as Gedmo;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. /**
  7.  * RequestQuoteComment
  8.  *
  9.  * @ORM\Table(name="tbl_request_quote_comment", options={"type"="InnoDB","charset"="utf8","collate"="utf8_unicode_ci"})
  10.  * @ORM\Entity(repositoryClass="App\OfficeBrain\Bundle\RequestQuoteBundle\Entity\RequestQuoteCommentRepository")
  11.  * @Gedmo\SoftDeleteable(fieldName="deletedAt", timeAware=false)
  12.  */
  13. class RequestQuoteComment
  14. {
  15.     /**
  16.      * @var integer
  17.      *
  18.      * @ORM\Column(name="id", type="bigint",length=20 ,options={"unsigned"=true})
  19.      * @ORM\Id
  20.      * @ORM\GeneratedValue(strategy="AUTO")
  21.      */
  22.     private $id;
  23.     /**
  24.      * @var integer
  25.      * @ORM\ManyToOne(targetEntity="RequestQuoteMaster", inversedBy="requestQuoteComment")  
  26.      * @ORM\JoinColumn(name="request_quote_master_id", referencedColumnName="id")
  27.      */
  28.     private $requestQuoteMasterId;
  29.     public $requestQuoteId;
  30.     /**
  31.      * @var string
  32.      *
  33.      * @ORM\Column(name="comment", type="string", length=255, nullable=true)
  34.      */
  35.     private $comment;
  36.     /**
  37.      * @var string
  38.      *
  39.      * @ORM\Column(name="send_by", type="string", length=255, nullable=true)
  40.      */
  41.     private $sendBy;
  42.     /**
  43.      * @var integer
  44.      *
  45.      * @ORM\Column(name="created_uid", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  46.      */
  47.     private $createdUid;
  48.     /**
  49.      * @var integer
  50.      *
  51.      * @ORM\Column(name="upated_uid", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  52.      */
  53.     private $upatedUid;
  54.     /**
  55.      * @var integer
  56.      *
  57.      * @ORM\Column(name="deleted_uid", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  58.      */
  59.     private $deletedUid;
  60.     /**
  61.      * @var integer
  62.      *
  63.      * @ORM\Column(name="instance_id", type="bigint",length=20 ,options={"unsigned"=true}, nullable=true)
  64.      */
  65.     private $instanceId;
  66.     /**
  67.      * @var string
  68.      *
  69.      * @ORM\Column(name="instance_type", type="string", length=255, nullable=true)
  70.      */
  71.     private $instanceType;
  72.     /**
  73.      * @var \DateTime
  74.      * @var \DateTime @Gedmo\Timestampable(on="create")
  75.      * @ORM\Column(name="created_at", type="datetime", nullable=true)
  76.      */
  77.     private $createdAt;
  78.     /**
  79.       * @var \DateTime @Gedmo\Timestampable(on="update")
  80.       * @ORM\Column(name="updated_at", type="datetime", nullable=true)
  81.      */
  82.     private $updatedAt;
  83.     /**
  84.      * @var \DateTime
  85.      *
  86.      * @ORM\Column(name="deleted_at", type="datetime", nullable=true)
  87.      */
  88.     private $deletedAt;
  89.     /**
  90.      * Get id
  91.      *
  92.      * @return integer 
  93.      */
  94.     public function getId()
  95.     {
  96.         return $this->id;
  97.     }
  98.     /**
  99.      * Set requestQuoteMasterId
  100.      *
  101.      * @param integer $requestQuoteMasterId
  102.      * @return RequestQuoteComment
  103.      */
  104.     public function setRequestQuoteMasterId($requestQuoteMasterId)
  105.     {
  106.         $this->requestQuoteMasterId $requestQuoteMasterId;
  107.         return $this;
  108.     }
  109.     /**
  110.      * Get requestQuoteMasterId
  111.      *
  112.      * @return integer 
  113.      */
  114.     public function getRequestQuoteMasterId()
  115.     {
  116.         return $this->requestQuoteMasterId;
  117.     }
  118.     /**
  119.      * Set comment
  120.      *
  121.      * @param string $comment
  122.      * @return RequestQuoteComment
  123.      */
  124.     public function setComment($comment)
  125.     {
  126.         $this->comment $comment;
  127.         return $this;
  128.     }
  129.     /**
  130.      * Get comment
  131.      *
  132.      * @return string 
  133.      */
  134.     public function getComment()
  135.     {
  136.         return $this->comment;
  137.     }
  138.     /**
  139.      * Set sendBy
  140.      *
  141.      * @param string $sendBy
  142.      * @return RequestQuoteComment
  143.      */
  144.     public function setSendBy($sendBy)
  145.     {
  146.         $this->sendBy $sendBy;
  147.         return $this;
  148.     }
  149.     /**
  150.      * Get sendBy
  151.      *
  152.      * @return string 
  153.      */
  154.     public function getSendBy()
  155.     {
  156.         return $this->sendBy;
  157.     }
  158.     /**
  159.      * Set createdUid
  160.      *
  161.      * @param integer $createdUid
  162.      * @return RequestQuoteComment
  163.      */
  164.     public function setCreatedUid($createdUid)
  165.     {
  166.         $this->createdUid $createdUid;
  167.         return $this;
  168.     }
  169.     /**
  170.      * Get createdUid
  171.      *
  172.      * @return integer 
  173.      */
  174.     public function getCreatedUid()
  175.     {
  176.         return $this->createdUid;
  177.     }
  178.     /**
  179.      * Set upatedUid
  180.      *
  181.      * @param integer $upatedUid
  182.      * @return RequestQuoteComment
  183.      */
  184.     public function setUpatedUid($upatedUid)
  185.     {
  186.         $this->upatedUid $upatedUid;
  187.         return $this;
  188.     }
  189.     /**
  190.      * Get upatedUid
  191.      *
  192.      * @return integer 
  193.      */
  194.     public function getUpatedUid()
  195.     {
  196.         return $this->upatedUid;
  197.     }
  198.     /**
  199.      * Set deletedUid
  200.      *
  201.      * @param integer $deletedUid
  202.      * @return RequestQuoteComment
  203.      */
  204.     public function setDeletedUid($deletedUid)
  205.     {
  206.         $this->deletedUid $deletedUid;
  207.         return $this;
  208.     }
  209.     /**
  210.      * Get deletedUid
  211.      *
  212.      * @return integer 
  213.      */
  214.     public function getDeletedUid()
  215.     {
  216.         return $this->deletedUid;
  217.     }
  218.     /**
  219.      * Set instanceId
  220.      *
  221.      * @param integer $instanceId
  222.      * @return RequestQuoteComment
  223.      */
  224.     public function setInstanceId($instanceId)
  225.     {
  226.         $this->instanceId $instanceId;
  227.         return $this;
  228.     }
  229.     /**
  230.      * Get instanceId
  231.      *
  232.      * @return integer 
  233.      */
  234.     public function getInstanceId()
  235.     {
  236.         return $this->instanceId;
  237.     }
  238.     /**
  239.      * Set instanceType
  240.      *
  241.      * @param string $instanceType
  242.      * @return RequestQuoteComment
  243.      */
  244.     public function setInstanceType($instanceType)
  245.     {
  246.         $this->instanceType $instanceType;
  247.         return $this;
  248.     }
  249.     /**
  250.      * Get instanceType
  251.      *
  252.      * @return string 
  253.      */
  254.     public function getInstanceType()
  255.     {
  256.         return $this->instanceType;
  257.     }
  258.     /**
  259.      * Set createdAt
  260.      *
  261.      * @param \DateTime $createdAt
  262.      * @return RequestQuoteComment
  263.      */
  264.     public function setCreatedAt($createdAt)
  265.     {
  266.         $this->createdAt $createdAt;
  267.         return $this;
  268.     }
  269.     /**
  270.      * Get createdAt
  271.      *
  272.      * @return \DateTime 
  273.      */
  274.     public function getCreatedAt()
  275.     {
  276.         return $this->createdAt;
  277.     }
  278.     /**
  279.      * Set updatedAt
  280.      *
  281.      * @param \DateTime $updatedAt
  282.      * @return RequestQuoteComment
  283.      */
  284.     public function setUpdatedAt($updatedAt)
  285.     {
  286.         $this->updatedAt $updatedAt;
  287.         return $this;
  288.     }
  289.     /**
  290.      * Get updatedAt
  291.      *
  292.      * @return \DateTime 
  293.      */
  294.     public function getUpdatedAt()
  295.     {
  296.         return $this->updatedAt;
  297.     }
  298.     /**
  299.      * Set deletedAt
  300.      *
  301.      * @param \DateTime $deletedAt
  302.      * @return RequestQuoteComment
  303.      */
  304.     public function setDeletedAt($deletedAt)
  305.     {
  306.         $this->deletedAt $deletedAt;
  307.         return $this;
  308.     }
  309.     /**
  310.      * Get deletedAt
  311.      *
  312.      * @return \DateTime 
  313.      */
  314.     public function getDeletedAt()
  315.     {
  316.         return $this->deletedAt;
  317.     }
  318. }