Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ff5b0d753a
Fetching contributors…

Cannot retrieve contributors at this time

93 lines (59 sloc) 1.56 kb
use utf8;
package Schema::Result::E2e;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
X_Db::Schema::Result::E2e
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<e2e>
=cut
__PACKAGE__->table("e2e");
=head1 ACCESSORS
=head2 left_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
=head2 right_id
data_type: 'integer'
is_foreign_key: 1
is_nullable: 0
=head2 bus_rule
data_type: 'text'
is_nullable: 1
=cut
__PACKAGE__->add_columns(
"left_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"right_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"bus_rule",
{ data_type => "text", is_nullable => 1 },
);
=head1 RELATIONS
=head2 left
Type: belongs_to
Related object: L<X_Db::Schema::Result::Entity>
=cut
__PACKAGE__->belongs_to(
"left",
"X_Db::Schema::Result::Entity",
{ et_id => "left_id" },
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
);
=head2 right
Type: belongs_to
Related object: L<X_Db::Schema::Result::Entity>
=cut
__PACKAGE__->belongs_to(
"right",
"X_Db::Schema::Result::Entity",
{ et_id => "right_id" },
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
);
# Created by DBIx::Class::Schema::Loader v0.07024 @ 2012-07-07 20:41:59
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0pCqfGpRExI9r7p/HpdkXg
# You can replace this text with custom code or comments, and it will be preserved on regeneration
1;
Jump to Line
Something went wrong with that request. Please try again.