Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / DeliveryOrderItemsStock.pm
1 # This file has been auto-generated only because it didn't exist.
2 # Feel free to modify it at will; it will not be overwritten automatically.
3
4 package SL::DB::DeliveryOrderItemsStock;
5
6 use strict;
7
8 use SL::DB::MetaSetup::DeliveryOrderItemsStock;
9
10 __PACKAGE__->meta->add_relationship(
11   inventory => {
12     type         => 'one to one',
13     class        => 'SL::DB::Inventory',
14     column_map   => { id => 'delivery_order_items_stock_id' },
15   },
16   unit_obj => {
17     type         => 'many to one',
18     class        => 'SL::DB::Unit',
19     column_map   => { unit => 'name' },
20   },
21 );
22
23 __PACKAGE__->meta->initialize;
24
25 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
26 __PACKAGE__->meta->make_manager_class;
27
28 1;