=head1 RELATIONS
+=head2 accountlines
+
+Type: has_many
+
+Related object: L<Koha::Schema::Result::Accountline>
+
+=cut
+
+__PACKAGE__->has_many(
+ "accountlines",
+ "Koha::Schema::Result::Accountline",
+ { "foreign.branchcode" => "self.branchcode" },
+ { cascade_copy => 0, cascade_delete => 0 },
+);
+
=head2 aqbaskets
Type: has_many
{ cascade_copy => 0, cascade_delete => 0 },
);
-=head2 branch_borrower_circ_rules
+=head2 branch_item_rules
Type: has_many
-Related object: L<Koha::Schema::Result::BranchBorrowerCircRule>
+Related object: L<Koha::Schema::Result::BranchItemRule>
=cut
__PACKAGE__->has_many(
- "branch_borrower_circ_rules",
- "Koha::Schema::Result::BranchBorrowerCircRule",
+ "branch_item_rules",
+ "Koha::Schema::Result::BranchItemRule",
{ "foreign.branchcode" => "self.branchcode" },
{ cascade_copy => 0, cascade_delete => 0 },
);
-=head2 branch_item_rules
+=head2 branches_overdrive
-Type: has_many
+Type: might_have
-Related object: L<Koha::Schema::Result::BranchItemRule>
+Related object: L<Koha::Schema::Result::BranchesOverdrive>
=cut
-__PACKAGE__->has_many(
- "branch_item_rules",
- "Koha::Schema::Result::BranchItemRule",
+__PACKAGE__->might_have(
+ "branches_overdrive",
+ "Koha::Schema::Result::BranchesOverdrive",
{ "foreign.branchcode" => "self.branchcode" },
{ cascade_copy => 0, cascade_delete => 0 },
);
{ cascade_copy => 0, cascade_delete => 0 },
);
+=head2 stockrotationstages
+
+Type: has_many
+
+Related object: L<Koha::Schema::Result::Stockrotationstage>
+
+=cut
+
+__PACKAGE__->has_many(
+ "stockrotationstages",
+ "Koha::Schema::Result::Stockrotationstage",
+ { "foreign.branchcode_id" => "self.branchcode" },
+ { cascade_copy => 0, cascade_delete => 0 },
+);
+
+=head2 suggestions
+
+Type: has_many
+
+Related object: L<Koha::Schema::Result::Suggestion>
+
+=cut
+
+__PACKAGE__->has_many(
+ "suggestions",
+ "Koha::Schema::Result::Suggestion",
+ { "foreign.branchcode" => "self.branchcode" },
+ { cascade_copy => 0, cascade_delete => 0 },
+);
+
=head2 transport_cost_frombranches
Type: has_many
);
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-05 14:29:17
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L/zUeW5lNf5oJcZ/bES7rw
-
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-11 12:56:41
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pKohWwsuUHcZSlGDj7zmcw
-# You can replace this text with custom code or comments, and it will be preserved on regeneration
+__PACKAGE__->add_columns(
+ '+pickup_location' => { is_boolean => 1 }
+);
sub koha_objects_class {
'Koha::Libraries';