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
64 __PACKAGE__->add_columns(
66 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
68 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
70 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
72 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
74 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
76 { data_type => "integer", is_nullable => 1 },
83 =item * L</itemnumber>
89 __PACKAGE__->set_primary_key("itemnumber");
97 Related object: L<Koha::Schema::Result::Biblio>
101 __PACKAGE__->belongs_to(
103 "Koha::Schema::Result::Biblio",
104 { biblionumber => "biblionumber" },
105 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
108 =head2 borrowernumber
112 Related object: L<Koha::Schema::Result::Borrower>
116 __PACKAGE__->belongs_to(
118 "Koha::Schema::Result::Borrower",
119 { borrowernumber => "borrowernumber" },
120 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
127 Related object: L<Koha::Schema::Result::Item>
131 __PACKAGE__->belongs_to(
133 "Koha::Schema::Result::Item",
134 { itemnumber => "itemnumber" },
135 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
138 =head2 source_branchcode
142 Related object: L<Koha::Schema::Result::Branch>
146 __PACKAGE__->belongs_to(
148 "Koha::Schema::Result::Branch",
149 { branchcode => "source_branchcode" },
153 on_delete => "CASCADE",
154 on_update => "CASCADE",
159 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-08-25 09:54:59
160 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SAi7lh09AVqlzXMLvLgkQg
163 # You can replace this text with custom content, and it will be preserved on regeneration