
Untitled
By: a guest on
May 8th, 2012 | syntax:
None | size: 2.06 KB | hits: 13 | expires: Never
package Eclaps::Schema::Result::Procurar;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
use strict;
use warnings;
use base 'DBIx::Class::Core';
__PACKAGE__->load_components("InflateColumn::DateTime");
=head1 NAME
Eclaps::Schema::Result::Procurar
=cut
__PACKAGE__->table("procurar");
=head1 ACCESSORS
=head2 spiders_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
=head2 buscas_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
=head2 empresas_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
=cut
__PACKAGE__->add_columns(
"spiders_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"buscas_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"empresas_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
);
__PACKAGE__->set_primary_key( "spiders_id", "buscas_id", "empresas_id" );
=head1 RELATIONS
=head2 spider
Type: belongs_to
Related object: L<Eclaps::Schema::Result::Spider>
=cut
__PACKAGE__->belongs_to(
"spider",
"Eclaps::Schema::Result::Spider",
{ id => "spiders_id" },
{ on_delete => "CASCADE", on_update => "CASCADE" },
);
=head2 busca
Type: belongs_to
Related object: L<Eclaps::Schema::Result::Busca>
=cut
__PACKAGE__->belongs_to(
"busca",
"Eclaps::Schema::Result::Busca",
{ id => "buscas_id" },
{ on_delete => "CASCADE", on_update => "CASCADE" },
);
=head2 empresa
Type: belongs_to
Related object: L<Eclaps::Schema::Result::Empresa>
=cut
__PACKAGE__->belongs_to(
"empresa",
"Eclaps::Schema::Result::Empresa",
{ id => "empresas_id" },
{ on_delete => "CASCADE", on_update => "CASCADE" },
);
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2010-08-04 15:20:49
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tTIF6GzP1ZdErA8xJC9H8g
# You can replace this text with custom content, and it will be preserved on regeneration
1;