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
46 __PACKAGE__->add_columns(
47 "patron_list_patron_id",
48 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
50 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
52 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
59 =item * L</patron_list_patron_id>
65 __PACKAGE__->set_primary_key("patron_list_patron_id");
73 Related object: L<Koha::Schema::Result::Borrower>
77 __PACKAGE__->belongs_to(
79 "Koha::Schema::Result::Borrower",
80 { borrowernumber => "borrowernumber" },
81 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
88 Related object: L<Koha::Schema::Result::PatronList>
92 __PACKAGE__->belongs_to(
94 "Koha::Schema::Result::PatronList",
95 { patron_list_id => "patron_list_id" },
96 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
100 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 21:34:14
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0gmBJbxnHkobBAazvKnY7g
104 # You can replace this text with custom content, and it will be preserved on regeneration