Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 8th, 2012  |  syntax: None  |  size: 2.06 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. package Eclaps::Schema::Result::Procurar;
  2.  
  3. # Created by DBIx::Class::Schema::Loader
  4. # DO NOT MODIFY THE FIRST PART OF THIS FILE
  5.  
  6. use strict;
  7. use warnings;
  8.  
  9. use base 'DBIx::Class::Core';
  10.  
  11. __PACKAGE__->load_components("InflateColumn::DateTime");
  12.  
  13. =head1 NAME
  14.  
  15. Eclaps::Schema::Result::Procurar
  16.  
  17. =cut
  18.  
  19. __PACKAGE__->table("procurar");
  20.  
  21. =head1 ACCESSORS
  22.  
  23. =head2 spiders_id
  24.  
  25.   data_type: 'integer'
  26.   is_foreign_key: 1
  27.   is_nullable: 0
  28.  
  29. =head2 buscas_id
  30.  
  31.   data_type: 'integer'
  32.   is_foreign_key: 1
  33.   is_nullable: 0
  34.  
  35. =head2 empresas_id
  36.  
  37.   data_type: 'integer'
  38.   is_foreign_key: 1
  39.   is_nullable: 0
  40.  
  41. =cut
  42.  
  43. __PACKAGE__->add_columns(
  44.     "spiders_id",
  45.     { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
  46.     "buscas_id",
  47.     { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
  48.     "empresas_id",
  49.     { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
  50. );
  51.  
  52. __PACKAGE__->set_primary_key( "spiders_id", "buscas_id", "empresas_id" );
  53.  
  54. =head1 RELATIONS
  55.  
  56. =head2 spider
  57.  
  58. Type: belongs_to
  59.  
  60. Related object: L<Eclaps::Schema::Result::Spider>
  61.  
  62. =cut
  63.  
  64. __PACKAGE__->belongs_to(
  65.     "spider",
  66.     "Eclaps::Schema::Result::Spider",
  67.     { id        => "spiders_id" },
  68.     { on_delete => "CASCADE", on_update => "CASCADE" },
  69. );
  70.  
  71. =head2 busca
  72.  
  73. Type: belongs_to
  74.  
  75. Related object: L<Eclaps::Schema::Result::Busca>
  76.  
  77. =cut
  78.  
  79. __PACKAGE__->belongs_to(
  80.     "busca",
  81.     "Eclaps::Schema::Result::Busca",
  82.     { id        => "buscas_id" },
  83.     { on_delete => "CASCADE", on_update => "CASCADE" },
  84. );
  85.  
  86. =head2 empresa
  87.  
  88. Type: belongs_to
  89.  
  90. Related object: L<Eclaps::Schema::Result::Empresa>
  91.  
  92. =cut
  93.  
  94. __PACKAGE__->belongs_to(
  95.     "empresa",
  96.     "Eclaps::Schema::Result::Empresa",
  97.     { id        => "empresas_id" },
  98.     { on_delete => "CASCADE", on_update => "CASCADE" },
  99. );
  100.  
  101. # Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-08-04 15:20:49
  102. # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tTIF6GzP1ZdErA8xJC9H8g
  103.  
  104. # You can replace this text with custom content, and it will be preserved on regeneration
  105. 1;