2 package Koha::Schema::Result::CurbsidePickupOpeningSlot;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::CurbsidePickupOpeningSlot
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<curbside_pickup_opening_slots>
22 __PACKAGE__->table("curbside_pickup_opening_slots");
32 =head2 curbside_pickup_policy_id
65 __PACKAGE__->add_columns(
67 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
68 "curbside_pickup_policy_id",
69 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
71 { data_type => "tinyint", is_nullable => 0 },
73 { data_type => "integer", is_nullable => 0 },
75 { data_type => "integer", is_nullable => 0 },
77 { data_type => "integer", is_nullable => 0 },
79 { data_type => "integer", is_nullable => 0 },
92 __PACKAGE__->set_primary_key("id");
96 =head2 curbside_pickup_policy
100 Related object: L<Koha::Schema::Result::CurbsidePickupPolicy>
104 __PACKAGE__->belongs_to(
105 "curbside_pickup_policy",
106 "Koha::Schema::Result::CurbsidePickupPolicy",
107 { id => "curbside_pickup_policy_id" },
108 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
112 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-27 11:58:44
113 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5kzC0AAB9LL0gR+FFnmYgw
116 # You can replace this text with custom code or comments, and it will be preserved on regeneration