2 package Koha::Schema::Result::PatronListPatron;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::PatronListPatron
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<patron_list_patrons>
22 __PACKAGE__->table("patron_list_patrons");
26 =head2 patron_list_patron_id
40 the list this entry is part of
48 the borrower that is part of this list
52 __PACKAGE__->add_columns(
53 "patron_list_patron_id",
54 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
56 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
58 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
65 =item * L</patron_list_patron_id>
71 __PACKAGE__->set_primary_key("patron_list_patron_id");
79 Related object: L<Koha::Schema::Result::Borrower>
83 __PACKAGE__->belongs_to(
85 "Koha::Schema::Result::Borrower",
86 { borrowernumber => "borrowernumber" },
87 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
94 Related object: L<Koha::Schema::Result::PatronList>
98 __PACKAGE__->belongs_to(
100 "Koha::Schema::Result::PatronList",
101 { patron_list_id => "patron_list_id" },
102 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
106 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
107 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WEOKHfprX7+detNjQ3pV/g
110 # You can replace this text with custom content, and it will be preserved on regeneration