|
Lines 242-288
__PACKAGE__->has_many(
Link Here
|
| 242 |
{ cascade_copy => 0, cascade_delete => 0 }, |
242 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 243 |
); |
243 |
); |
| 244 |
|
244 |
|
| 245 |
=head2 itemtypes |
245 |
=head2 holds |
| 246 |
|
246 |
|
| 247 |
Type: has_many |
247 |
Type: has_many |
| 248 |
|
248 |
|
| 249 |
Related object: L<Koha::Schema::Result::Itemtype> |
249 |
Related object: L<Koha::Schema::Result::Hold> |
| 250 |
|
250 |
|
| 251 |
=cut |
251 |
=cut |
| 252 |
|
252 |
|
| 253 |
__PACKAGE__->has_many( |
253 |
__PACKAGE__->has_many( |
| 254 |
"itemtypes", |
254 |
"holds", |
| 255 |
"Koha::Schema::Result::Itemtype", |
255 |
"Koha::Schema::Result::Hold", |
| 256 |
{ "foreign.parent_type" => "self.itemtype" }, |
256 |
{ "foreign.item_type" => "self.itemtype" }, |
| 257 |
{ cascade_copy => 0, cascade_delete => 0 }, |
257 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 258 |
); |
258 |
); |
| 259 |
|
259 |
|
| 260 |
=head2 itemtypes_branches |
260 |
=head2 itemtypes |
| 261 |
|
261 |
|
| 262 |
Type: has_many |
262 |
Type: has_many |
| 263 |
|
263 |
|
| 264 |
Related object: L<Koha::Schema::Result::ItemtypesBranch> |
264 |
Related object: L<Koha::Schema::Result::Itemtype> |
| 265 |
|
265 |
|
| 266 |
=cut |
266 |
=cut |
| 267 |
|
267 |
|
| 268 |
__PACKAGE__->has_many( |
268 |
__PACKAGE__->has_many( |
| 269 |
"itemtypes_branches", |
269 |
"itemtypes", |
| 270 |
"Koha::Schema::Result::ItemtypesBranch", |
270 |
"Koha::Schema::Result::Itemtype", |
| 271 |
{ "foreign.itemtype" => "self.itemtype" }, |
271 |
{ "foreign.parent_type" => "self.itemtype" }, |
| 272 |
{ cascade_copy => 0, cascade_delete => 0 }, |
272 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 273 |
); |
273 |
); |
| 274 |
|
274 |
|
| 275 |
=head2 old_reserves |
275 |
=head2 itemtypes_branches |
| 276 |
|
276 |
|
| 277 |
Type: has_many |
277 |
Type: has_many |
| 278 |
|
278 |
|
| 279 |
Related object: L<Koha::Schema::Result::OldReserve> |
279 |
Related object: L<Koha::Schema::Result::ItemtypesBranch> |
| 280 |
|
280 |
|
| 281 |
=cut |
281 |
=cut |
| 282 |
|
282 |
|
| 283 |
__PACKAGE__->has_many( |
283 |
__PACKAGE__->has_many( |
| 284 |
"old_reserves", |
284 |
"itemtypes_branches", |
| 285 |
"Koha::Schema::Result::OldReserve", |
285 |
"Koha::Schema::Result::ItemtypesBranch", |
| 286 |
{ "foreign.itemtype" => "self.itemtype" }, |
286 |
{ "foreign.itemtype" => "self.itemtype" }, |
| 287 |
{ cascade_copy => 0, cascade_delete => 0 }, |
287 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 288 |
); |
288 |
); |
|
Lines 307-330
__PACKAGE__->belongs_to(
Link Here
|
| 307 |
}, |
307 |
}, |
| 308 |
); |
308 |
); |
| 309 |
|
309 |
|
| 310 |
=head2 reserves |
|
|
| 311 |
|
| 312 |
Type: has_many |
| 313 |
|
| 314 |
Related object: L<Koha::Schema::Result::Reserve> |
| 315 |
|
| 316 |
=cut |
| 317 |
|
| 318 |
__PACKAGE__->has_many( |
| 319 |
"reserves", |
| 320 |
"Koha::Schema::Result::Reserve", |
| 321 |
{ "foreign.itemtype" => "self.itemtype" }, |
| 322 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 323 |
); |
| 324 |
|
| 325 |
|
310 |
|
| 326 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 |
311 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-01-27 19:57:36 |
| 327 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iByLvz6PwhMByZC9bJb8ig |
312 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0UMD6Is/qWhwz3LZxiRibA |
| 328 |
|
313 |
|
| 329 |
__PACKAGE__->add_columns( |
314 |
__PACKAGE__->add_columns( |
| 330 |
'+rentalcharge_hourly_calendar' => { is_boolean => 1 }, |
315 |
'+rentalcharge_hourly_calendar' => { is_boolean => 1 }, |
| 331 |
- |
|
|