|
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::ShopOrder;
|
|
4 |
#package SL::DB::ShopOrder;
|
|
5 |
|
|
6 |
use strict;
|
|
7 |
|
|
8 |
use parent qw(SL::DB::Object);
|
|
9 |
|
|
10 |
__PACKAGE__->meta->table('shop_orders');
|
|
11 |
|
|
12 |
__PACKAGE__->meta->columns(
|
|
13 |
amount => { type => 'numeric', precision => 15, scale => 5 },
|
|
14 |
billing_city => { type => 'text' },
|
|
15 |
billing_company => { type => 'text' },
|
|
16 |
billing_country => { type => 'text' },
|
|
17 |
billing_department => { type => 'text' },
|
|
18 |
billing_email => { type => 'text' },
|
|
19 |
billing_fax => { type => 'text' },
|
|
20 |
billing_firstname => { type => 'text' },
|
|
21 |
billing_greeting => { type => 'text' },
|
|
22 |
billing_lastname => { type => 'text' },
|
|
23 |
billing_phone => { type => 'text' },
|
|
24 |
billing_street => { type => 'text' },
|
|
25 |
billing_vat => { type => 'text' },
|
|
26 |
billing_zipcode => { type => 'text' },
|
|
27 |
customer_city => { type => 'text' },
|
|
28 |
customer_company => { type => 'text' },
|
|
29 |
customer_country => { type => 'text' },
|
|
30 |
customer_department => { type => 'text' },
|
|
31 |
customer_email => { type => 'text' },
|
|
32 |
customer_fax => { type => 'text' },
|
|
33 |
customer_firstname => { type => 'text' },
|
|
34 |
customer_greeting => { type => 'text' },
|
|
35 |
customer_lastname => { type => 'text' },
|
|
36 |
customer_newsletter => { type => 'boolean' },
|
|
37 |
customer_phone => { type => 'text' },
|
|
38 |
customer_street => { type => 'text' },
|
|
39 |
customer_vat => { type => 'text' },
|
|
40 |
customer_zipcode => { type => 'text' },
|
|
41 |
delivery_city => { type => 'text' },
|
|
42 |
delivery_company => { type => 'text' },
|
|
43 |
delivery_country => { type => 'text' },
|
|
44 |
delivery_department => { type => 'text' },
|
|
45 |
delivery_email => { type => 'text' },
|
|
46 |
delivery_fax => { type => 'text' },
|
|
47 |
delivery_firstname => { type => 'text' },
|
|
48 |
delivery_greeting => { type => 'text' },
|
|
49 |
delivery_lastname => { type => 'text' },
|
|
50 |
delivery_phone => { type => 'text' },
|
|
51 |
delivery_street => { type => 'text' },
|
|
52 |
delivery_vat => { type => 'text' },
|
|
53 |
delivery_zipcode => { type => 'text' },
|
|
54 |
host => { type => 'text' },
|
|
55 |
id => { type => 'serial', not_null => 1 },
|
|
56 |
itime => { type => 'timestamp', default => 'now()' },
|
|
57 |
kivi_customer_id => { type => 'integer' },
|
|
58 |
mtime => { type => 'timestamp' },
|
|
59 |
netamount => { type => 'numeric', precision => 15, scale => 5 },
|
|
60 |
oe_transid => { type => 'integer' },
|
|
61 |
order_date => { type => 'timestamp' },
|
|
62 |
payment_description => { type => 'text' },
|
|
63 |
payment_id => { type => 'integer' },
|
|
64 |
remote_ip => { type => 'text' },
|
|
65 |
sepa_account_holder => { type => 'text' },
|
|
66 |
sepa_bic => { type => 'text' },
|
|
67 |
sepa_iban => { type => 'text' },
|
|
68 |
shipping_costs => { type => 'numeric', precision => 15, scale => 5 },
|
|
69 |
shipping_costs_id => { type => 'integer' },
|
|
70 |
shipping_costs_net => { type => 'numeric', precision => 15, scale => 5 },
|
|
71 |
shop_c_billing_id => { type => 'integer' },
|
|
72 |
shop_c_billing_number => { type => 'text' },
|
|
73 |
shop_c_delivery_id => { type => 'integer' },
|
|
74 |
shop_c_delivery_number => { type => 'text' },
|
|
75 |
shop_customer_comment => { type => 'text' },
|
|
76 |
shop_customer_id => { type => 'integer' },
|
|
77 |
shop_customer_number => { type => 'text' },
|
|
78 |
shop_data => { type => 'text' },
|
|
79 |
shop_id => { type => 'integer' },
|
|
80 |
shop_ordernumber => { type => 'text' },
|
|
81 |
shop_trans_id => { type => 'integer', not_null => 1 },
|
|
82 |
tax_included => { type => 'boolean' },
|
|
83 |
transfer_date => { type => 'date' },
|
|
84 |
transferred => { type => 'boolean', default => 'false' },
|
|
85 |
);
|
|
86 |
|
|
87 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
|
88 |
|
|
89 |
__PACKAGE__->meta->allow_inline_column_values(1);
|
|
90 |
|
|
91 |
1;
|
|
92 |
;
|
Shopmodul: ShopOrder
Conflicts:
SL/DB/MetaSetup/ShopOrder.pm
SL/DB/MetaSetup/ShopOrderItem.pm