1 package Koha::Schema::Result::PatronListPatron;
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::PatronListPatron
18 __PACKAGE__->table("patron_list_patrons");
22 =head2 patron_list_patron_id
42 __PACKAGE__->add_columns(
43 "patron_list_patron_id",
44 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
46 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
48 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
50 __PACKAGE__->set_primary_key("patron_list_patron_id");
58 Related object: L<Koha::Schema::Result::Borrower>
62 __PACKAGE__->belongs_to(
64 "Koha::Schema::Result::Borrower",
65 { borrowernumber => "borrowernumber" },
66 { on_delete => "CASCADE", on_update => "CASCADE" },
73 Related object: L<Koha::Schema::Result::PatronList>
77 __PACKAGE__->belongs_to(
79 "Koha::Schema::Result::PatronList",
80 { patron_list_id => "patron_list_id" },
81 { on_delete => "CASCADE", on_update => "CASCADE" },
85 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-07-10 10:39:50
86 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c+znpWBlv6I+yi1EuGUKrQ
89 # You can replace this text with custom content, and it will be preserved on regeneration