PaymentGatewaysSettings.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?php
  2. /**
  3. *
  4. * PHP Pro Bid $Id$ gV0fhW3tAm1JDU2OcaLsvebgVrs3+rpIUzgeNrwyL2zrjNe5F4amnF2xUX7SmtkZkn0l9qv/xu9Ekagx1/6w+w==
  5. *
  6. * @link http://www.phpprobid.com
  7. * @copyright Copyright (c) 2014 Online Ventures Software LTD & CodeCube SRL
  8. * @license http://www.phpprobid.com/license Commercial License
  9. *
  10. * @version 7.0
  11. */
  12. namespace Ppb\Db\Table;
  13. use Cube\Db\Table\AbstractTable;
  14. class PaymentGatewaysSettings extends AbstractTable
  15. {
  16. /**
  17. *
  18. * table name
  19. *
  20. * @var string
  21. */
  22. protected $_name = 'payment_gateways_settings';
  23. /**
  24. *
  25. * primary key
  26. *
  27. * @var string
  28. */
  29. protected $_primary = 'id';
  30. /**
  31. *
  32. * reference map
  33. *
  34. * @var array
  35. */
  36. protected $_referenceMap = array(
  37. 'Gateway' => array(
  38. self::COLUMNS => 'gateway_id',
  39. self::REF_TABLE_CLASS => '\Ppb\Db\Table\PaymentGateways',
  40. self::REF_COLUMNS => 'id',
  41. ),
  42. 'User' => array(
  43. self::COLUMNS => 'user_id',
  44. self::REF_TABLE_CLASS => '\Ppb\Db\Table\Users',
  45. self::REF_COLUMNS => 'id',
  46. ),
  47. );
  48. }