CcTransTableMap.php 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. /**
  3. * This class defines the structure of the 'cc_trans' table.
  4. *
  5. *
  6. *
  7. * This map class is used by Propel to do runtime db structure discovery.
  8. * For example, the createSelectSql() method checks the type of a given column used in an
  9. * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
  10. * (i.e. if it's a text column type).
  11. *
  12. * @package propel.generator.airtime.map
  13. */
  14. class CcTransTableMap extends TableMap {
  15. /**
  16. * The (dot-path) name of this class
  17. */
  18. const CLASS_NAME = 'airtime.map.CcTransTableMap';
  19. /**
  20. * Initialize the table attributes, columns and validators
  21. * Relations are not initialized by this method since they are lazy loaded
  22. *
  23. * @return void
  24. * @throws PropelException
  25. */
  26. public function initialize()
  27. {
  28. // attributes
  29. $this->setName('cc_trans');
  30. $this->setPhpName('CcTrans');
  31. $this->setClassname('CcTrans');
  32. $this->setPackage('airtime');
  33. $this->setUseIdGenerator(true);
  34. $this->setPrimaryKeyMethodInfo('cc_trans_id_seq');
  35. // columns
  36. $this->addPrimaryKey('ID', 'Id', 'INTEGER', true, null, null);
  37. $this->addColumn('TRTOK', 'Trtok', 'CHAR', true, 16, null);
  38. $this->addColumn('DIRECTION', 'Direction', 'VARCHAR', true, 128, null);
  39. $this->addColumn('STATE', 'State', 'VARCHAR', true, 128, null);
  40. $this->addColumn('TRTYPE', 'Trtype', 'VARCHAR', true, 128, null);
  41. $this->addColumn('LOCK', 'Lock', 'CHAR', true, 1, 'N');
  42. $this->addColumn('TARGET', 'Target', 'VARCHAR', false, 255, null);
  43. $this->addColumn('RTRTOK', 'Rtrtok', 'CHAR', false, 16, null);
  44. $this->addColumn('MDTRTOK', 'Mdtrtok', 'CHAR', false, 16, null);
  45. $this->addColumn('GUNID', 'Gunid', 'CHAR', false, 32, null);
  46. $this->addColumn('PDTOKEN', 'Pdtoken', 'BIGINT', false, null, null);
  47. $this->addColumn('URL', 'Url', 'VARCHAR', false, 255, null);
  48. $this->addColumn('LOCALFILE', 'Localfile', 'VARCHAR', false, 255, null);
  49. $this->addColumn('FNAME', 'Fname', 'VARCHAR', false, 255, null);
  50. $this->addColumn('TITLE', 'Title', 'VARCHAR', false, 255, null);
  51. $this->addColumn('EXPECTEDSUM', 'Expectedsum', 'CHAR', false, 32, null);
  52. $this->addColumn('REALSUM', 'Realsum', 'CHAR', false, 32, null);
  53. $this->addColumn('EXPECTEDSIZE', 'Expectedsize', 'INTEGER', false, null, null);
  54. $this->addColumn('REALSIZE', 'Realsize', 'INTEGER', false, null, null);
  55. $this->addColumn('UID', 'Uid', 'INTEGER', false, null, null);
  56. $this->addColumn('ERRMSG', 'Errmsg', 'VARCHAR', false, 255, null);
  57. $this->addColumn('JOBPID', 'Jobpid', 'INTEGER', false, null, null);
  58. $this->addColumn('START', 'Start', 'TIMESTAMP', false, null, null);
  59. $this->addColumn('TS', 'Ts', 'TIMESTAMP', false, null, null);
  60. // validators
  61. } // initialize()
  62. /**
  63. * Build the RelationMap objects for this table relationships
  64. */
  65. public function buildRelations()
  66. {
  67. } // buildRelations()
  68. } // CcTransTableMap