Revision db7a2e79
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
SL/DB/MetaSetup/Letter.pm | ||
---|---|---|
11 | 11 |
__PACKAGE__->meta->columns( |
12 | 12 |
body => { type => 'text' }, |
13 | 13 |
cp_id => { type => 'integer' }, |
14 |
customer_id => { type => 'integer', not_null => 1 },
|
|
14 |
customer_id => { type => 'integer' }, |
|
15 | 15 |
date => { type => 'date' }, |
16 | 16 |
employee_id => { type => 'integer' }, |
17 | 17 |
greeting => { type => 'text' }, |
... | ... | |
23 | 23 |
reference => { type => 'text' }, |
24 | 24 |
salesman_id => { type => 'integer' }, |
25 | 25 |
subject => { type => 'text' }, |
26 |
vendor_id => { type => 'integer' }, |
|
26 | 27 |
); |
27 | 28 |
|
28 | 29 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
... | ... | |
49 | 50 |
class => 'SL::DB::Employee', |
50 | 51 |
key_columns => { salesman_id => 'id' }, |
51 | 52 |
}, |
53 |
|
|
54 |
vendor => { |
|
55 |
class => 'SL::DB::Vendor', |
|
56 |
key_columns => { vendor_id => 'id' }, |
|
57 |
}, |
|
52 | 58 |
); |
53 | 59 |
|
54 | 60 |
1; |
Auch abrufbar als: Unified diff
Briefe: Lieferantenbriefe