ascott

Entity-AccountsGroups

Aug 31st, 2012
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.25 KB | None | 0 0
  1. <?php
  2.  
  3. namespace RedK\Core\IndexBundle\Entity;
  4.  
  5. use Doctrine\ORM\Mapping as ORM;
  6. use Doctrine\ORM\EntityRepository;
  7.  
  8. /**
  9.  * RedK\Core\IndexBundle\Entity\AccountsGroups
  10.  *
  11.  * @ORM\Table(name="accounts_groups")
  12.  * @ORM\Entity
  13.  */
  14. class AccountsGroups
  15. {
  16.     /**
  17.      * @var integer $id
  18.      *
  19.      * @ORM\Column(name="id", type="integer", nullable=false)
  20.      * @ORM\Id
  21.      * @ORM\GeneratedValue(strategy="IDENTITY")
  22.      */
  23.     protected $id;
  24.  
  25.     /**
  26.      * @var \DateTime $createTimestamp
  27.      *
  28.      * @ORM\Column(name="create_timestamp", type="datetime", nullable=false)
  29.      */
  30.     protected $createTimestamp;
  31.  
  32.     /**
  33.      * @var Accounts
  34.      *
  35.      * @ORM\ManyToOne(targetEntity="Accounts")
  36.      * @ORM\JoinColumns({
  37.      *   @ORM\JoinColumn(name="create_account_fk", referencedColumnName="id")
  38.      * })
  39.      */
  40.     protected $createAccountFk;
  41.  
  42.     /**
  43.      * @var WebConfigurations
  44.      *
  45.      * @ORM\ManyToOne(targetEntity="WebConfigurations")
  46.      * @ORM\JoinColumns({
  47.      *   @ORM\JoinColumn(name="configuration_fk", referencedColumnName="id")
  48.      * })
  49.      */
  50.     protected $configurationFk;
  51.  
  52.     /**
  53.      * @var Accounts
  54.      *
  55.      * @ORM\ManyToOne(targetEntity="Accounts")
  56.      * @ORM\JoinColumns({
  57.      *   @ORM\JoinColumn(name="account_fk", referencedColumnName="id")
  58.      * })
  59.      */
  60.     protected $accountFk;
  61.  
  62.     /**
  63.      * @var EngineRoles
  64.      *
  65.      * @ORM\ManyToOne(targetEntity="EngineRoles")
  66.      * @ORM\JoinColumns({
  67.      *   @ORM\JoinColumn(name="role_fk", referencedColumnName="role")
  68.      * })
  69.      */
  70.     protected $roleFk;
  71.  
  72.     /**
  73.      * Get id
  74.      *
  75.      * @return integer
  76.      */
  77.     public function getId()
  78.     {
  79.         return $this->id;
  80.     }
  81.  
  82.     /**
  83.      * Set createTimestamp
  84.      *
  85.      * @param \DateTime $createTimestamp
  86.      * @return AccountsGroups
  87.      */
  88.     public function setCreateTimestamp($createTimestamp)
  89.     {
  90.         $this->createTimestamp = $createTimestamp;
  91.  
  92.         return $this;
  93.     }
  94.  
  95.     /**
  96.      * Get createTimestamp
  97.      *
  98.      * @return \DateTime
  99.      */
  100.     public function getCreateTimestamp()
  101.     {
  102.         return $this->createTimestamp;
  103.     }
  104.  
  105.     /**
  106.      * Set createAccountFk
  107.      *
  108.      * @param RedK\Core\IndexBundle\Entity\Accounts $createAccountFk
  109.      * @return AccountsGroups
  110.      */
  111.     public function setCreateAccountFk(\RedK\Core\IndexBundle\Entity\Accounts $createAccountFk = null)
  112.     {
  113.         $this->createAccountFk = $createAccountFk;
  114.  
  115.         return $this;
  116.     }
  117.  
  118.     /**
  119.      * Get createAccountFk
  120.      *
  121.      * @return RedK\Core\IndexBundle\Entity\Accounts
  122.      */
  123.     public function getCreateAccountFk()
  124.     {
  125.         return $this->createAccountFk;
  126.     }
  127.  
  128.     /**
  129.      * Set configurationFk
  130.      *
  131.      * @param RedK\Core\IndexBundle\Entity\WebConfigurations $configurationFk
  132.      * @return AccountsGroups
  133.      */
  134.     public function setConfigurationFk(\RedK\Core\IndexBundle\Entity\WebConfigurations $configurationFk = null)
  135.     {
  136.         $this->configurationFk = $configurationFk;
  137.  
  138.         return $this;
  139.     }
  140.  
  141.     /**
  142.      * Get configurationFk
  143.      *
  144.      * @return RedK\Core\IndexBundle\Entity\WebConfigurations
  145.      */
  146.     public function getConfigurationFk()
  147.     {
  148.         return $this->configurationFk;
  149.     }
  150.  
  151.     /**
  152.      * Set accountFk
  153.      *
  154.      * @param RedK\Core\IndexBundle\Entity\Accounts $accountFk
  155.      * @return AccountsGroups
  156.      */
  157.     public function setAccountFk(\RedK\Core\IndexBundle\Entity\Accounts $accountFk = null)
  158.     {
  159.         $this->accountFk = $accountFk;
  160.  
  161.         return $this;
  162.     }
  163.  
  164.     /**
  165.      * Get accountFk
  166.      *
  167.      * @return RedK\Core\IndexBundle\Entity\Accounts
  168.      */
  169.     public function getAccountFk()
  170.     {
  171.         return $this->accountFk;
  172.     }
  173.  
  174.     /**
  175.      * Set roleFk
  176.      *
  177.      * @param RedK\Core\IndexBundle\Entity\EngineRoles $roleFk
  178.      * @return AccountsGroups
  179.      */
  180.     public function setRoleFk(\RedK\Core\IndexBundle\Entity\EngineRoles $roleFk = null)
  181.     {
  182.         $this->roleFk = $roleFk;
  183.  
  184.         return $this;
  185.     }
  186.  
  187.     /**
  188.      * Get roleFk
  189.      *
  190.      * @return RedK\Core\IndexBundle\Entity\EngineRoles
  191.      */
  192.     public function getRoleFk()
  193.     {
  194.         return $this->RoleFk;
  195.     }
  196. }
Add Comment
Please, Sign In to add comment