2 package Koha::Schema::Result::AqorderUser;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::AqorderUser
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<aqorder_users>
22 __PACKAGE__->table("aqorder_users");
32 the order this patrons receive notifications from (aqorders.ordernumber)
40 the borrowernumber for the patron receiving notifications for this order (borrowers.borrowernumber)
44 __PACKAGE__->add_columns(
46 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
48 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
55 =item * L</ordernumber>
57 =item * L</borrowernumber>
63 __PACKAGE__->set_primary_key("ordernumber", "borrowernumber");
71 Related object: L<Koha::Schema::Result::Borrower>
75 __PACKAGE__->belongs_to(
77 "Koha::Schema::Result::Borrower",
78 { borrowernumber => "borrowernumber" },
79 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
86 Related object: L<Koha::Schema::Result::Aqorder>
90 __PACKAGE__->belongs_to(
92 "Koha::Schema::Result::Aqorder",
93 { ordernumber => "ordernumber" },
94 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
98 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
99 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:G5LCF3HRXk7YKl8/t7HIyg
102 # You can replace this text with custom code or comments, and it will be preserved on regeneration