2 package Koha::Schema::Result::BorrowerAttribute;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::BorrowerAttribute
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<borrower_attributes>
22 __PACKAGE__->table("borrower_attributes");
53 __PACKAGE__->add_columns(
55 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
57 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
59 { data_type => "varchar", is_nullable => 1, size => 255 },
61 { data_type => "varchar", is_nullable => 1, size => 64 },
70 Related object: L<Koha::Schema::Result::Borrower>
74 __PACKAGE__->belongs_to(
76 "Koha::Schema::Result::Borrower",
77 { borrowernumber => "borrowernumber" },
78 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
85 Related object: L<Koha::Schema::Result::BorrowerAttributeType>
89 __PACKAGE__->belongs_to(
91 "Koha::Schema::Result::BorrowerAttributeType",
93 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
97 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
98 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9oRy+X25+b7vB03WSnpFTg
101 # You can replace this text with custom content, and it will be preserved on regeneration