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

(-)a/Koha/Schema/Result/OldReserve.pm (-1 / +79 lines)
Lines 301-309 __PACKAGE__->belongs_to( Link Here
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
301
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug
302
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug
303
303
304
=head2 item
305
306
Type: belongs_to
307
308
Related object: L<Koha::Schema::Result::Item>
309
310
=cut
311
312
__PACKAGE__->belongs_to(
313
  "item",
314
  "Koha::Schema::Result::Item",
315
  { itemnumber => "itemnumber" },
316
  {
317
    is_deferrable => 1,
318
    join_type     => "LEFT",
319
    on_delete     => "CASCADE",
320
    on_update     => "CASCADE",
321
  },
322
);
323
324
=head2 branch
325
326
Type: belongs_to
327
328
Related object: L<Koha::Schema::Result::Branch>
329
330
=cut
331
332
__PACKAGE__->belongs_to(
333
  "branch",
334
  "Koha::Schema::Result::Branch",
335
  { branchcode => "branchcode" },
336
  {
337
    is_deferrable => 1,
338
    join_type     => "LEFT",
339
    on_delete     => "CASCADE",
340
    on_update     => "CASCADE",
341
  },
342
);
343
344
=head2 biblio
345
346
Type: belongs_to
347
348
Related object: L<Koha::Schema::Result::Biblio>
349
350
=cut
351
352
__PACKAGE__->belongs_to(
353
  "biblio",
354
  "Koha::Schema::Result::Biblio",
355
  { biblionumber => "biblionumber" },
356
  {
357
    is_deferrable => 1,
358
    join_type     => "LEFT",
359
    on_delete     => "CASCADE",
360
    on_update     => "CASCADE",
361
  },
362
);
363
364
__PACKAGE__->add_columns(
365
    '+item_level_hold' => { is_boolean => 1 },
366
    '+lowestPriority'  => { is_boolean => 1 },
367
    '+suspend'         => { is_boolean => 1 }
368
);
369
370
=head2 koha_object_class
371
372
Returns related Koha::Object class name
373
374
=cut
375
304
sub koha_object_class {
376
sub koha_object_class {
305
    'Koha::Old::Hold';
377
    'Koha::Old::Hold';
306
}
378
}
379
380
=head2 koha_objects_class
381
382
Returns related Koha::Objects class name
383
384
=cut
385
307
sub koha_objects_class {
386
sub koha_objects_class {
308
    'Koha::Old::Holds';
387
    'Koha::Old::Holds';
309
}
388
}
310
- 

Return to bug 20936