1 package Koha::Schema::Result::Aqbudgetborrower;
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::Aqbudgetborrower
18 __PACKAGE__->table("aqbudgetborrowers");
36 __PACKAGE__->add_columns(
38 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
40 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
42 __PACKAGE__->set_primary_key("budget_id", "borrowernumber");
50 Related object: L<Koha::Schema::Result::Aqbudget>
54 __PACKAGE__->belongs_to(
56 "Koha::Schema::Result::Aqbudget",
57 { budget_id => "budget_id" },
58 { on_delete => "CASCADE", on_update => "CASCADE" },
65 Related object: L<Koha::Schema::Result::Borrower>
69 __PACKAGE__->belongs_to(
71 "Koha::Schema::Result::Borrower",
72 { borrowernumber => "borrowernumber" },
73 { on_delete => "CASCADE", on_update => "CASCADE" },
77 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
78 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yyTHiYgSk9l/r976XwuYog
81 # You can replace this text with custom content, and it will be preserved on regeneration