1 package Koha::Schema::Result::HoldFillTarget;
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::HoldFillTarget
18 __PACKAGE__->table("hold_fill_targets");
40 =head2 source_branchcode
47 =head2 item_level_request
55 __PACKAGE__->add_columns(
57 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
59 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
61 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
63 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
65 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
67 __PACKAGE__->set_primary_key("itemnumber");
75 Related object: L<Koha::Schema::Result::Borrower>
79 __PACKAGE__->belongs_to(
81 "Koha::Schema::Result::Borrower",
82 { borrowernumber => "borrowernumber" },
83 { on_delete => "CASCADE", on_update => "CASCADE" },
90 Related object: L<Koha::Schema::Result::Biblio>
94 __PACKAGE__->belongs_to(
96 "Koha::Schema::Result::Biblio",
97 { biblionumber => "biblionumber" },
98 { on_delete => "CASCADE", on_update => "CASCADE" },
105 Related object: L<Koha::Schema::Result::Item>
109 __PACKAGE__->belongs_to(
111 "Koha::Schema::Result::Item",
112 { itemnumber => "itemnumber" },
113 { on_delete => "CASCADE", on_update => "CASCADE" },
116 =head2 source_branchcode
120 Related object: L<Koha::Schema::Result::Branch>
124 __PACKAGE__->belongs_to(
126 "Koha::Schema::Result::Branch",
127 { branchcode => "source_branchcode" },
128 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
132 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
133 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/h3AEVRMJgs51+fyRzpLaQ
136 # You can replace this text with custom content, and it will be preserved on regeneration