Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cc54185d

Von Moritz Bunkus vor fast 14 Jahren hinzugefügt

  • ID cc54185d1da8a3103668607c0c902b8314e3bfc4
  • Vorgänger 27cf17f0
  • Nachfolger 9831db07

Modelverknüpfungen

Unterschiede anzeigen:

SL/DB/DeliveryOrder.pm
15 15
                                                    column_map   => { id => 'trans_id' },
16 16
                                                    manager_args => { with_objects => [ 'part' ] }
17 17
                                                  },
18
                                    shipto => { type       => 'one to one',
19
                                                class      => 'SL::DB::Shipto',
20
                                                column_map => { shipto_id => 'shipto_id' },
21
                                              },
22
                                    department => { type       => 'one to one',
23
                                                    class      => 'SL::DB::Department',
24
                                                    column_map => { department_id => 'id' },
25
                                                  },
18 26
                                   );
19 27

  
20 28
__PACKAGE__->meta->initialize;
SL/DB/Invoice.pm
33 33
    class      => 'SL::DB::PaymentTerm',
34 34
    column_map => { payment_id => 'id' },
35 35
  },
36
  contact      => {
37
    type       => 'one to one',
38
    class      => 'SL::DB::Contact',
39
    column_map => { cp_id => 'cp_id' },
40
  },
41
  shipto       => {
42
    type       => 'one to one',
43
    class      => 'SL::DB::Shipto',
44
    column_map => { shipto_id => 'shipto_id' },
45
  },
46
  department   => {
47
    type       => 'one to one',
48
    class      => 'SL::DB::Department',
49
    column_map => { department_id => 'id' },
50
  },
51
  language     => {
52
    type       => 'one to one',
53
    class      => 'SL::DB::Language',
54
    column_map => { language_id => 'id' },
55
  },
36 56
);
37 57

  
38 58
__PACKAGE__->meta->initialize;
SL/DB/Order.pm
41 41
    class      => 'SL::DB::PaymentTerm',
42 42
    column_map => { payment_id => 'id' },
43 43
  },
44
  contact      => {
45
    type       => 'one to one',
46
    class      => 'SL::DB::Contact',
47
    column_map => { cp_id => 'cp_id' },
48
  },
49
  shipto       => {
50
    type       => 'one to one',
51
    class      => 'SL::DB::Shipto',
52
    column_map => { shipto_id => 'shipto_id' },
53
  },
54
  department   => {
55
    type       => 'one to one',
56
    class      => 'SL::DB::Department',
57
    column_map => { department_id => 'id' },
58
  },
59
  language     => {
60
    type       => 'one to one',
61
    class      => 'SL::DB::Language',
62
    column_map => { language_id => 'id' },
63
  },
44 64
);
45 65

  
46 66
__PACKAGE__->meta->initialize;

Auch abrufbar als: Unified diff