Commit 8d5d256db65d2a83e873aa9eccb885674c49b1b2

Authored by Bruno Menezes
1 parent e7c5b2b0
Exists in master and in 1 other branch 3.1

inserindo tabela session

src/Cacic/CommonBundle/Entity/Session.php 0 → 100644
... ... @@ -0,0 +1,96 @@
  1 +<?php
  2 +
  3 +namespace Cacic\CommonBundle\Entity;
  4 +
  5 +use Doctrine\ORM\Mapping as ORM;
  6 +
  7 +/**
  8 + * Session
  9 + */
  10 +class Session
  11 +{
  12 + /**
  13 + * @var string
  14 + */
  15 + private $sessionId;
  16 +
  17 + /**
  18 + * @var string
  19 + */
  20 + private $sessionValue;
  21 +
  22 + /**
  23 + * @var string
  24 + */
  25 + private $sessionTime;
  26 +
  27 +
  28 + /**
  29 + * Set sessionId
  30 + *
  31 + * @param string $sessionId
  32 + * @return Session
  33 + */
  34 + public function setSessionId($sessionId)
  35 + {
  36 + $this->sessionId = $sessionId;
  37 +
  38 + return $this;
  39 + }
  40 +
  41 + /**
  42 + * Get sessionId
  43 + *
  44 + * @return string
  45 + */
  46 + public function getSessionId()
  47 + {
  48 + return $this->sessionId;
  49 + }
  50 +
  51 + /**
  52 + * Set sessionValue
  53 + *
  54 + * @param string $sessionValue
  55 + * @return Session
  56 + */
  57 + public function setSessionValue($sessionValue)
  58 + {
  59 + $this->sessionValue = $sessionValue;
  60 +
  61 + return $this;
  62 + }
  63 +
  64 + /**
  65 + * Get sessionValue
  66 + *
  67 + * @return string
  68 + */
  69 + public function getSessionValue()
  70 + {
  71 + return $this->sessionValue;
  72 + }
  73 +
  74 + /**
  75 + * Set sessionTime
  76 + *
  77 + * @param string $sessionTime
  78 + * @return Session
  79 + */
  80 + public function setSessionTime($sessionTime)
  81 + {
  82 + $this->sessionTime = $sessionTime;
  83 +
  84 + return $this;
  85 + }
  86 +
  87 + /**
  88 + * Get sessionTime
  89 + *
  90 + * @return string
  91 + */
  92 + public function getSessionTime()
  93 + {
  94 + return $this->sessionTime;
  95 + }
  96 +}
... ...
src/Cacic/CommonBundle/Entity/SessionRepository.php 0 → 100644
... ... @@ -0,0 +1,15 @@
  1 +<?php
  2 +
  3 +namespace Cacic\CommonBundle\Entity;
  4 +
  5 +use Doctrine\ORM\EntityRepository;
  6 +
  7 +/**
  8 + * SessionRepository
  9 + *
  10 + * This class was generated by the Doctrine ORM. Add your own custom
  11 + * repository methods below.
  12 + */
  13 +class SessionRepository extends EntityRepository
  14 +{
  15 +}
... ...