|
Lines 141-150
__PACKAGE__->belongs_to(
Link Here
|
| 141 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
141 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
| 142 |
); |
142 |
); |
| 143 |
|
143 |
|
| 144 |
|
|
|
| 145 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-07 11:22:06 |
144 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-02-07 11:22:06 |
| 146 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WSsSTNOfNnTSyP3AGS9NXA |
145 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WSsSTNOfNnTSyP3AGS9NXA |
| 147 |
|
146 |
|
|
|
147 |
=head2 issue |
| 148 |
|
| 149 |
Type: belongs_to |
| 150 |
|
| 151 |
Related object: L<Koha::Schema::Result::Issue> |
| 152 |
|
| 153 |
=cut |
| 154 |
|
| 155 |
__PACKAGE__->belongs_to( |
| 156 |
issue => 'Koha::Schema::Result::Issue', |
| 157 |
'issue_id', |
| 158 |
{ join_type => 'left' } |
| 159 |
); |
| 160 |
|
| 161 |
=head2 old_issue |
| 162 |
|
| 163 |
Type: belongs_to |
| 164 |
|
| 165 |
Related object: L<Koha::Schema::Result::OldIssue> |
| 166 |
|
| 167 |
=cut |
| 168 |
|
| 169 |
__PACKAGE__->belongs_to( |
| 170 |
old_issue => 'Koha::Schema::Result::OldIssue', |
| 171 |
'issue_id', |
| 172 |
{ join_type => 'left' } |
| 173 |
); |
| 148 |
|
174 |
|
| 149 |
sub koha_object_class { |
175 |
sub koha_object_class { |
| 150 |
return 'Koha::Patron::Quota::Usage'; |
176 |
return 'Koha::Patron::Quota::Usage'; |
| 151 |
- |
|
|