Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8dd918d2

Von Werner Hahn vor mehr als 1 Jahr hinzugefügt

  • ID 8dd918d2481de98a91fe1e0d6c52092186a18cae
  • Vorgänger e05233a3
  • Nachfolger 77808df0

Dispositionsmanager: fehlende Dateien

Unterschiede anzeigen:

SL/DB/Manager/PurchaseBasketItem.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::Manager::PurchaseBasketItem;
5

  
6
use strict;
7

  
8
use parent qw(SL::DB::Helper::Manager);
9

  
10
sub object_class { 'SL::DB::PurchaseBasketItem' }
11

  
12
__PACKAGE__->make_manager_methods;
13

  
14
1;
SL/DB/MetaSetup/PurchaseBasketItem.pm
1
# This file has been auto-generated. Do not modify it; it will be overwritten
2
# by rose_auto_create_model.pl automatically.
3
package SL::DB::PurchaseBasketItem;
4

  
5
use strict;
6

  
7
use parent qw(SL::DB::Object);
8

  
9
__PACKAGE__->meta->table('purchase_basket_items');
10

  
11
__PACKAGE__->meta->columns(
12
  cleared     => { type => 'boolean', default => 'false', not_null => 1 },
13
  description => { type => 'text' },
14
  id          => { type => 'serial', not_null => 1 },
15
  parts_id    => { type => 'integer' },
16
  qty         => { type => 'numeric', precision => 15, scale => 5 },
17
);
18

  
19
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
20

  
21
__PACKAGE__->meta->foreign_keys(
22
  part => {
23
    class       => 'SL::DB::Part',
24
    key_columns => { parts_id => 'id' },
25
  },
26
);
27

  
28
1;
29
;
SL/DB/PurchaseBasketItem.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::PurchaseBasketItem;
5

  
6
use strict;
7

  
8
use SL::DB::MetaSetup::PurchaseBasketItem;
9
use SL::DB::Manager::PurchaseBasketItem;
10

  
11
__PACKAGE__->meta->initialize;
12

  
13
1;

Auch abrufbar als: Unified diff