|
Lines 252-298
__PACKAGE__->has_many(
Link Here
|
| 252 |
{ cascade_copy => 0, cascade_delete => 0 }, |
252 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 253 |
); |
253 |
); |
| 254 |
|
254 |
|
| 255 |
=head2 itemtypes |
255 |
=head2 holds |
| 256 |
|
256 |
|
| 257 |
Type: has_many |
257 |
Type: has_many |
| 258 |
|
258 |
|
| 259 |
Related object: L<Koha::Schema::Result::Itemtype> |
259 |
Related object: L<Koha::Schema::Result::Hold> |
| 260 |
|
260 |
|
| 261 |
=cut |
261 |
=cut |
| 262 |
|
262 |
|
| 263 |
__PACKAGE__->has_many( |
263 |
__PACKAGE__->has_many( |
| 264 |
"itemtypes", |
264 |
"holds", |
| 265 |
"Koha::Schema::Result::Itemtype", |
265 |
"Koha::Schema::Result::Hold", |
| 266 |
{ "foreign.parent_type" => "self.itemtype" }, |
266 |
{ "foreign.item_type" => "self.itemtype" }, |
| 267 |
{ cascade_copy => 0, cascade_delete => 0 }, |
267 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 268 |
); |
268 |
); |
| 269 |
|
269 |
|
| 270 |
=head2 itemtypes_branches |
270 |
=head2 itemtypes |
| 271 |
|
271 |
|
| 272 |
Type: has_many |
272 |
Type: has_many |
| 273 |
|
273 |
|
| 274 |
Related object: L<Koha::Schema::Result::ItemtypesBranch> |
274 |
Related object: L<Koha::Schema::Result::Itemtype> |
| 275 |
|
275 |
|
| 276 |
=cut |
276 |
=cut |
| 277 |
|
277 |
|
| 278 |
__PACKAGE__->has_many( |
278 |
__PACKAGE__->has_many( |
| 279 |
"itemtypes_branches", |
279 |
"itemtypes", |
| 280 |
"Koha::Schema::Result::ItemtypesBranch", |
280 |
"Koha::Schema::Result::Itemtype", |
| 281 |
{ "foreign.itemtype" => "self.itemtype" }, |
281 |
{ "foreign.parent_type" => "self.itemtype" }, |
| 282 |
{ cascade_copy => 0, cascade_delete => 0 }, |
282 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 283 |
); |
283 |
); |
| 284 |
|
284 |
|
| 285 |
=head2 old_reserves |
285 |
=head2 itemtypes_branches |
| 286 |
|
286 |
|
| 287 |
Type: has_many |
287 |
Type: has_many |
| 288 |
|
288 |
|
| 289 |
Related object: L<Koha::Schema::Result::OldReserve> |
289 |
Related object: L<Koha::Schema::Result::ItemtypesBranch> |
| 290 |
|
290 |
|
| 291 |
=cut |
291 |
=cut |
| 292 |
|
292 |
|
| 293 |
__PACKAGE__->has_many( |
293 |
__PACKAGE__->has_many( |
| 294 |
"old_reserves", |
294 |
"itemtypes_branches", |
| 295 |
"Koha::Schema::Result::OldReserve", |
295 |
"Koha::Schema::Result::ItemtypesBranch", |
| 296 |
{ "foreign.itemtype" => "self.itemtype" }, |
296 |
{ "foreign.itemtype" => "self.itemtype" }, |
| 297 |
{ cascade_copy => 0, cascade_delete => 0 }, |
297 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 298 |
); |
298 |
); |
|
Lines 317-337
__PACKAGE__->belongs_to(
Link Here
|
| 317 |
}, |
317 |
}, |
| 318 |
); |
318 |
); |
| 319 |
|
319 |
|
| 320 |
=head2 reserves |
|
|
| 321 |
|
| 322 |
Type: has_many |
| 323 |
|
| 324 |
Related object: L<Koha::Schema::Result::Reserve> |
| 325 |
|
| 326 |
=cut |
| 327 |
|
| 328 |
__PACKAGE__->has_many( |
| 329 |
"reserves", |
| 330 |
"Koha::Schema::Result::Reserve", |
| 331 |
{ "foreign.itemtype" => "self.itemtype" }, |
| 332 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 333 |
); |
| 334 |
|
| 335 |
|
320 |
|
| 336 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-04-22 09:12:04 |
321 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-04-22 09:12:04 |
| 337 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/kFAnQQ7q1KaLJ9h7vk0vg |
322 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/kFAnQQ7q1KaLJ9h7vk0vg |
| 338 |
- |
|
|