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");
40 __PACKAGE__
->add_columns(
42 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
44 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
51 =item * L</ordernumber>
53 =item * L</borrowernumber>
59 __PACKAGE__
->set_primary_key("ordernumber", "borrowernumber");
67 Related object: L<Koha::Schema::Result::Borrower>
71 __PACKAGE__
->belongs_to(
73 "Koha::Schema::Result::Borrower",
74 { borrowernumber
=> "borrowernumber" },
75 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
82 Related object: L<Koha::Schema::Result::Aqorder>
86 __PACKAGE__
->belongs_to(
88 "Koha::Schema::Result::Aqorder",
89 { ordernumber
=> "ordernumber" },
90 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
94 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-03-11 11:50:38
95 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6mhRlYUeJnpQIJ2P9WTbHQ
98 # You can replace this text with custom code or comments, and it will be preserved on regeneration