src/CoreBundle/Entity/CallbackRequest.php line 10

Open in your IDE?
  1. <?php
  2. namespace CoreBundle\Entity;
  3. use DateTime;
  4. /**
  5.  * CallbackRequestTxn
  6.  */
  7. class CallbackRequest
  8. {
  9.     /**
  10.      * @var int
  11.      */
  12.     private $id;
  13.     /**
  14.      * @var DateTime
  15.      */
  16.     private $date_create;
  17.     /**
  18.      * @var string
  19.      */
  20.     private $user_phone;
  21.     /**
  22.      * @var DateTime
  23.      */
  24.     private $date_close;
  25.     /**
  26.      * @var ViDiDepartment
  27.      */
  28.     private $department;
  29.     /**
  30.      * @var Dealer
  31.      */
  32.     private $dealer;
  33.     /**
  34.      * @var int
  35.      */
  36.     private $state;
  37.     /**
  38.      * @var int
  39.      */
  40.     private $counter;
  41.     /**
  42.      * Get id
  43.      *
  44.      * @return int
  45.      */
  46.     public function getId()
  47.     {
  48.         return $this->id;
  49.     }
  50.     /**
  51.      * Set dateCreate
  52.      *
  53.      * @param DateTime $date_create
  54.      *
  55.      * @return CallbackRequest
  56.      */
  57.     public function setDateCreate($date_create)
  58.     {
  59.         $this->date_create $date_create;
  60.         return $this;
  61.     }
  62.     /**
  63.      * Get dateCreate
  64.      *
  65.      * @return DateTime
  66.      */
  67.     public function getDateCreate()
  68.     {
  69.         return $this->date_create;
  70.     }
  71.     /**
  72.      * Set dateClose
  73.      *
  74.      * @param DateTime $date_close
  75.      *
  76.      * @return CallbackRequest
  77.      */
  78.     public function setDateClose($date_close)
  79.     {
  80.         $this->date_close $date_close;
  81.         return $this;
  82.     }
  83.     /**
  84.      * Get dateClose
  85.      *
  86.      * @return DateTime
  87.      */
  88.     public function getDateClose()
  89.     {
  90.         return $this->date_close;
  91.     }
  92.     /**
  93.      * Set userPhone
  94.      *
  95.      * @param string $user_phone
  96.      *
  97.      * @return CallbackRequest
  98.      */
  99.     public function setUserPhone($user_phone)
  100.     {
  101.         $this->user_phone $user_phone;
  102.         return $this;
  103.     }
  104.     /**
  105.      * Get userPhone
  106.      *
  107.      * @return string
  108.      */
  109.     public function getUserPhone()
  110.     {
  111.         return $this->user_phone;
  112.     }
  113.     /**
  114.      * Set department
  115.      *
  116.      * @param ViDiDepartment $department
  117.      *
  118.      * @return CallbackRequest
  119.      */
  120.     public function setDepartment(ViDiDepartment $department)
  121.     {
  122.         $this->department $department;
  123.         return $this;
  124.     }
  125.     /**
  126.      * Get department
  127.      *
  128.      * @return ViDiDepartment
  129.      */
  130.     public function getDepartment()
  131.     {
  132.         return $this->department;
  133.     }
  134.     /**
  135.      * Set dealer
  136.      *
  137.      * @param Dealer $dealer
  138.      *
  139.      * @return CallbackRequest
  140.      */
  141.     public function setDealer(Dealer $dealer)
  142.     {
  143.         $this->dealer $dealer;
  144.         return $this;
  145.     }
  146.     /**
  147.      * Get dealer
  148.      *
  149.      * @return Dealer
  150.      */
  151.     public function getDealer()
  152.     {
  153.         return $this->dealer;
  154.     }
  155.     /**
  156.      * Set state
  157.      *
  158.      * @param integer $state
  159.      *
  160.      * @return CallbackRequest
  161.      */
  162.     public function setState($state)
  163.     {
  164.         $this->state $state;
  165.         return $this;
  166.     }
  167.     /**
  168.      * Get state
  169.      *
  170.      * @return int
  171.      */
  172.     public function getState()
  173.     {
  174.         return $this->state;
  175.     }
  176.     /**
  177.      * @var integer
  178.      */
  179.     private $is_notify;
  180.     /**
  181.      * Set isNotify
  182.      *
  183.      * @param integer $isNotify
  184.      *
  185.      * @return CallbackRequest
  186.      */
  187.     public function setIsNotify($isNotify)
  188.     {
  189.         $this->is_notify $isNotify;
  190.         return $this;
  191.     }
  192.     /**
  193.      * Get isNotify
  194.      *
  195.      * @return integer
  196.      */
  197.     public function getIsNotify()
  198.     {
  199.         return $this->is_notify;
  200.     }
  201.     /**
  202.      * @var string|null
  203.      */
  204.     private $utm;
  205.     /**
  206.      * Set utm.
  207.      *
  208.      * @param string|null $utm
  209.      *
  210.      * @return CallbackRequest
  211.      */
  212.     public function setUtm($utm null)
  213.     {
  214.         $this->utm $utm;
  215.         return $this;
  216.     }
  217.     /**
  218.      * Get utm.
  219.      *
  220.      * @return string|null
  221.      */
  222.     public function getUtm()
  223.     {
  224.         return $this->utm;
  225.     }
  226.     public function getCounter(): int
  227.     {
  228.         return $this->counter;
  229.     }
  230.     public function setCounter(int $counter): void
  231.     {
  232.         $this->counter $counter;
  233.     }
  234.     public function incrementCounter(): self
  235.     {
  236.         $this->counter++;
  237.         return $this;
  238.     }
  239. }