Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace RedK\Core\IndexBundle\Entity;
- use Doctrine\ORM\Mapping as ORM;
- use Doctrine\ORM\EntityRepository;
- /**
- * RedK\Core\IndexBundle\Entity\AccountsGroups
- *
- * @ORM\Table(name="accounts_groups")
- * @ORM\Entity
- */
- class AccountsGroups
- {
- /**
- * @var integer $id
- *
- * @ORM\Column(name="id", type="integer", nullable=false)
- * @ORM\Id
- * @ORM\GeneratedValue(strategy="IDENTITY")
- */
- protected $id;
- /**
- * @var \DateTime $createTimestamp
- *
- * @ORM\Column(name="create_timestamp", type="datetime", nullable=false)
- */
- protected $createTimestamp;
- /**
- * @var Accounts
- *
- * @ORM\ManyToOne(targetEntity="Accounts")
- * @ORM\JoinColumns({
- * @ORM\JoinColumn(name="create_account_fk", referencedColumnName="id")
- * })
- */
- protected $createAccountFk;
- /**
- * @var WebConfigurations
- *
- * @ORM\ManyToOne(targetEntity="WebConfigurations")
- * @ORM\JoinColumns({
- * @ORM\JoinColumn(name="configuration_fk", referencedColumnName="id")
- * })
- */
- protected $configurationFk;
- /**
- * @var Accounts
- *
- * @ORM\ManyToOne(targetEntity="Accounts")
- * @ORM\JoinColumns({
- * @ORM\JoinColumn(name="account_fk", referencedColumnName="id")
- * })
- */
- protected $accountFk;
- /**
- * @var EngineRoles
- *
- * @ORM\ManyToOne(targetEntity="EngineRoles")
- * @ORM\JoinColumns({
- * @ORM\JoinColumn(name="role_fk", referencedColumnName="role")
- * })
- */
- protected $roleFk;
- /**
- * Get id
- *
- * @return integer
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set createTimestamp
- *
- * @param \DateTime $createTimestamp
- * @return AccountsGroups
- */
- public function setCreateTimestamp($createTimestamp)
- {
- $this->createTimestamp = $createTimestamp;
- return $this;
- }
- /**
- * Get createTimestamp
- *
- * @return \DateTime
- */
- public function getCreateTimestamp()
- {
- return $this->createTimestamp;
- }
- /**
- * Set createAccountFk
- *
- * @param RedK\Core\IndexBundle\Entity\Accounts $createAccountFk
- * @return AccountsGroups
- */
- public function setCreateAccountFk(\RedK\Core\IndexBundle\Entity\Accounts $createAccountFk = null)
- {
- $this->createAccountFk = $createAccountFk;
- return $this;
- }
- /**
- * Get createAccountFk
- *
- * @return RedK\Core\IndexBundle\Entity\Accounts
- */
- public function getCreateAccountFk()
- {
- return $this->createAccountFk;
- }
- /**
- * Set configurationFk
- *
- * @param RedK\Core\IndexBundle\Entity\WebConfigurations $configurationFk
- * @return AccountsGroups
- */
- public function setConfigurationFk(\RedK\Core\IndexBundle\Entity\WebConfigurations $configurationFk = null)
- {
- $this->configurationFk = $configurationFk;
- return $this;
- }
- /**
- * Get configurationFk
- *
- * @return RedK\Core\IndexBundle\Entity\WebConfigurations
- */
- public function getConfigurationFk()
- {
- return $this->configurationFk;
- }
- /**
- * Set accountFk
- *
- * @param RedK\Core\IndexBundle\Entity\Accounts $accountFk
- * @return AccountsGroups
- */
- public function setAccountFk(\RedK\Core\IndexBundle\Entity\Accounts $accountFk = null)
- {
- $this->accountFk = $accountFk;
- return $this;
- }
- /**
- * Get accountFk
- *
- * @return RedK\Core\IndexBundle\Entity\Accounts
- */
- public function getAccountFk()
- {
- return $this->accountFk;
- }
- /**
- * Set roleFk
- *
- * @param RedK\Core\IndexBundle\Entity\EngineRoles $roleFk
- * @return AccountsGroups
- */
- public function setRoleFk(\RedK\Core\IndexBundle\Entity\EngineRoles $roleFk = null)
- {
- $this->roleFk = $roleFk;
- return $this;
- }
- /**
- * Get roleFk
- *
- * @return RedK\Core\IndexBundle\Entity\EngineRoles
- */
- public function getRoleFk()
- {
- return $this->RoleFk;
- }
- }
Add Comment
Please, Sign In to add comment