1 package Koha::Schema::Result::BorrowerAttribute;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::BorrowerAttribute
18 __PACKAGE__->table("borrower_attributes");
49 __PACKAGE__->add_columns(
51 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
53 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
55 { data_type => "varchar", is_nullable => 1, size => 255 },
57 { data_type => "varchar", is_nullable => 1, size => 64 },
66 Related object: L<Koha::Schema::Result::Borrower>
70 __PACKAGE__->belongs_to(
72 "Koha::Schema::Result::Borrower",
73 { borrowernumber => "borrowernumber" },
74 { on_delete => "CASCADE", on_update => "CASCADE" },
81 Related object: L<Koha::Schema::Result::BorrowerAttributeType>
85 __PACKAGE__->belongs_to(
87 "Koha::Schema::Result::BorrowerAttributeType",
89 { on_delete => "CASCADE", on_update => "CASCADE" },
93 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
94 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LWaFw4Fk0Bj+K6JgDpicmA
97 # You can replace this text with custom content, and it will be preserved on regeneration