Lines 769-801
__PACKAGE__->has_many(
Link Here
|
769 |
{ cascade_copy => 0, cascade_delete => 0 }, |
769 |
{ cascade_copy => 0, cascade_delete => 0 }, |
770 |
); |
770 |
); |
771 |
|
771 |
|
772 |
=head2 patroncards |
772 |
=head2 patron_list_patrons |
773 |
|
773 |
|
774 |
Type: has_many |
774 |
Type: has_many |
775 |
|
775 |
|
776 |
Related object: L<Koha::Schema::Result::Patroncard> |
776 |
Related object: L<Koha::Schema::Result::PatronListPatron> |
777 |
|
777 |
|
778 |
=cut |
778 |
=cut |
779 |
|
779 |
|
780 |
__PACKAGE__->has_many( |
780 |
__PACKAGE__->has_many( |
781 |
"patroncards", |
781 |
"patron_list_patrons", |
782 |
"Koha::Schema::Result::Patroncard", |
782 |
"Koha::Schema::Result::PatronListPatron", |
783 |
{ "foreign.borrowernumber" => "self.borrowernumber" }, |
783 |
{ "foreign.borrowernumber" => "self.borrowernumber" }, |
784 |
{ cascade_copy => 0, cascade_delete => 0 }, |
784 |
{ cascade_copy => 0, cascade_delete => 0 }, |
785 |
); |
785 |
); |
786 |
|
786 |
|
787 |
=head2 patronimage |
787 |
=head2 patron_lists |
|
|
788 |
|
789 |
Type: has_many |
790 |
|
791 |
Related object: L<Koha::Schema::Result::PatronList> |
792 |
|
793 |
=cut |
794 |
|
795 |
__PACKAGE__->has_many( |
796 |
"patron_lists", |
797 |
"Koha::Schema::Result::PatronList", |
798 |
{ "foreign.owner" => "self.borrowernumber" }, |
799 |
{ cascade_copy => 0, cascade_delete => 0 }, |
800 |
); |
801 |
|
802 |
=head2 patroncards |
788 |
|
803 |
|
789 |
Type: might_have |
804 |
Type: has_many |
790 |
|
805 |
|
791 |
Related object: L<Koha::Schema::Result::Patronimage> |
806 |
Related object: L<Koha::Schema::Result::Patroncard> |
792 |
|
807 |
|
793 |
=cut |
808 |
=cut |
794 |
|
809 |
|
795 |
__PACKAGE__->might_have( |
810 |
__PACKAGE__->has_many( |
796 |
"patronimage", |
811 |
"patroncards", |
797 |
"Koha::Schema::Result::Patronimage", |
812 |
"Koha::Schema::Result::Patroncard", |
798 |
{ "foreign.cardnumber" => "self.cardnumber" }, |
813 |
{ "foreign.borrowernumber" => "self.borrowernumber" }, |
799 |
{ cascade_copy => 0, cascade_delete => 0 }, |
814 |
{ cascade_copy => 0, cascade_delete => 0 }, |
800 |
); |
815 |
); |
801 |
|
816 |
|
Lines 950-957
__PACKAGE__->has_many(
Link Here
|
950 |
); |
965 |
); |
951 |
|
966 |
|
952 |
|
967 |
|
953 |
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-06-18 13:13:57 |
968 |
# Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-07-18 06:47:46 |
954 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RZG8l5yFKXZzsAY8CenNeA |
969 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MGnxqHPAA123Qg8wdBnXAw |
955 |
|
970 |
|
956 |
|
971 |
|
957 |
# You can replace this text with custom content, and it will be preserved on regeneration |
972 |
# You can replace this text with custom content, and it will be preserved on regeneration |
958 |
- |
|
|