View | Details | Raw Unified | Return to bug 30275
Collapse All | Expand All

(-)a/Koha/Schema/Result/CheckoutRenewal.pm (-2 / +46 lines)
Lines 129-134 __PACKAGE__->belongs_to( Link Here
129
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-11 16:33:50
129
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-03-11 16:33:50
130
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:agLgLnVeKYB5wdWS06xD0A
130
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:agLgLnVeKYB5wdWS06xD0A
131
131
132
=head2 checkout
133
134
Type: belongs_to
135
136
Related object: L<Koha::Schema::Result::Issue>
137
138
=cut
139
140
__PACKAGE__->belongs_to(
141
    "checkout",
142
    "Koha::Schema::Result::Issue",
143
    { issue_id => "issue_id" },
144
    {
145
        is_deferrable => 1,
146
        join_type     => "LEFT",
147
    },
148
);
149
150
=head2 old_checkout
151
152
Type: belongs_to
153
154
Related object: L<Koha::Schema::Result::OldIssue>
155
156
=cut
157
158
__PACKAGE__->belongs_to(
159
    "old_checkout",
160
    "Koha::Schema::Result::OldIssue",
161
    { issue_id => "issue_id" },
162
    {
163
        is_deferrable => 1,
164
        join_type     => "LEFT",
165
    },
166
);
167
168
__PACKAGE__->add_columns(
169
    '+seen' => { is_boolean => 1 }
170
);
171
172
sub koha_objects_class {
173
    'Koha::Checkouts::Renewals';
174
}
175
sub koha_object_class {
176
    'Koha::Checkouts::Renewal';
177
}
132
178
133
# You can replace this text with custom code or comments, and it will be preserved on regeneration
134
1;
179
1;
135
- 

Return to bug 30275