|
Lines 42-48
ID of the item
Link Here
|
| 42 |
=head2 issue_id |
42 |
=head2 issue_id |
| 43 |
|
43 |
|
| 44 |
data_type: 'integer' |
44 |
data_type: 'integer' |
| 45 |
is_foreign_key: 1 |
|
|
| 46 |
is_nullable: 1 |
45 |
is_nullable: 1 |
| 47 |
|
46 |
|
| 48 |
ID of the checkout that triggered the claim |
47 |
ID of the checkout that triggered the claim |
|
Lines 126-132
__PACKAGE__->add_columns(
Link Here
|
| 126 |
"itemnumber", |
125 |
"itemnumber", |
| 127 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
126 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 128 |
"issue_id", |
127 |
"issue_id", |
| 129 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
128 |
{ data_type => "integer", is_nullable => 1 }, |
| 130 |
"borrowernumber", |
129 |
"borrowernumber", |
| 131 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
130 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, |
| 132 |
"notes", |
131 |
"notes", |
|
Lines 222-247
__PACKAGE__->belongs_to(
Link Here
|
| 222 |
}, |
221 |
}, |
| 223 |
); |
222 |
); |
| 224 |
|
223 |
|
| 225 |
=head2 issue |
|
|
| 226 |
|
| 227 |
Type: belongs_to |
| 228 |
|
| 229 |
Related object: L<Koha::Schema::Result::Issue> |
| 230 |
|
| 231 |
=cut |
| 232 |
|
| 233 |
__PACKAGE__->belongs_to( |
| 234 |
"issue", |
| 235 |
"Koha::Schema::Result::Issue", |
| 236 |
{ issue_id => "issue_id" }, |
| 237 |
{ |
| 238 |
is_deferrable => 1, |
| 239 |
join_type => "LEFT", |
| 240 |
on_delete => "SET NULL", |
| 241 |
on_update => "CASCADE", |
| 242 |
}, |
| 243 |
); |
| 244 |
|
| 245 |
=head2 itemnumber |
224 |
=head2 itemnumber |
| 246 |
|
225 |
|
| 247 |
Type: belongs_to |
226 |
Type: belongs_to |
|
Lines 298-305
__PACKAGE__->belongs_to(
Link Here
|
| 298 |
); |
277 |
); |
| 299 |
|
278 |
|
| 300 |
|
279 |
|
| 301 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 |
280 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-11-17 10:01:24 |
| 302 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qcgfUNzvsOB0UMm/94mZMQ |
281 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ik93SD3kLNecIyRgsBVKDQ |
| 303 |
|
282 |
|
| 304 |
sub koha_objects_class { |
283 |
sub koha_objects_class { |
| 305 |
'Koha::Checkouts::ReturnClaims'; |
284 |
'Koha::Checkouts::ReturnClaims'; |
| 306 |
- |
|
|