2 package Koha
::Schema
::Result
::HoldFillTarget
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::HoldFillTarget
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<hold_fill_targets>
22 __PACKAGE__
->table("hold_fill_targets");
44 =head2 source_branchcode
51 =head2 item_level_request
59 __PACKAGE__
->add_columns(
61 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
63 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
65 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
67 { data_type
=> "varchar", is_foreign_key
=> 1, is_nullable
=> 1, size
=> 10 },
69 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
76 =item * L</itemnumber>
82 __PACKAGE__
->set_primary_key("itemnumber");
90 Related object: L<Koha::Schema::Result::Biblio>
94 __PACKAGE__
->belongs_to(
96 "Koha::Schema::Result::Biblio",
97 { biblionumber
=> "biblionumber" },
98 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
101 =head2 borrowernumber
105 Related object: L<Koha::Schema::Result::Borrower>
109 __PACKAGE__
->belongs_to(
111 "Koha::Schema::Result::Borrower",
112 { borrowernumber
=> "borrowernumber" },
113 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
120 Related object: L<Koha::Schema::Result::Item>
124 __PACKAGE__
->belongs_to(
126 "Koha::Schema::Result::Item",
127 { itemnumber
=> "itemnumber" },
128 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
131 =head2 source_branchcode
135 Related object: L<Koha::Schema::Result::Branch>
139 __PACKAGE__
->belongs_to(
141 "Koha::Schema::Result::Branch",
142 { branchcode
=> "source_branchcode" },
146 on_delete
=> "CASCADE",
147 on_update
=> "CASCADE",
152 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
153 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uSU9PBMr4e6XKuDgBV583A
156 # You can replace this text with custom content, and it will be preserved on regeneration