line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1173
|
use utf8; |
|
2
|
|
|
|
|
9
|
|
|
2
|
|
|
|
|
16
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Interchange6::Schema::Result::ShipmentDestination; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Interchange6::Schema::Result::ShipmentDestination |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=cut |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
93
|
use Interchange6::Schema::Candy; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
15
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 ACCESSORS |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head2 shipment_destinations_id |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Primary key. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
primary_column shipment_destinations_id => |
22
|
|
|
|
|
|
|
{ data_type => "integer", is_auto_increment => 1 }; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head2 zones_id |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
FK on L<Interchange6::Schema::Result::Zone/zones_id>. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=cut |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
column zones_id => |
31
|
|
|
|
|
|
|
{ data_type => "integer" }; |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head2 shipment_methods_id |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
FK on L<Interchange6::Schema::Result::ShipmentMethod/shipment_methods_id>. |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=cut |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
column shipment_methods_id => |
40
|
|
|
|
|
|
|
{ data_type => "integer" }; |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 active |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Whether this shipment destination record is active. Defaults to 1 (true). |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
column active => |
49
|
|
|
|
|
|
|
{ data_type => "boolean", default_value => 1 }; |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 RELATIONS |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head2 zone |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
Type: belongs_to |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
Related object: L<Interchange6::Schema::Result::Zone> |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=cut |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
belongs_to |
62
|
|
|
|
|
|
|
zone => "Interchange6::Schema::Result::Zone", |
63
|
|
|
|
|
|
|
"zones_id", |
64
|
|
|
|
|
|
|
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }; |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head2 shipment_method |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Type: belongs_to |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Related object: L<Interchange6::Schema::Result::ShipmentMethod> |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=cut |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
belongs_to |
75
|
|
|
|
|
|
|
shipment_method => "Interchange6::Schema::Result::ShipmentMethod", |
76
|
|
|
|
|
|
|
"shipment_methods_id", |
77
|
|
|
|
|
|
|
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }; |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
1; |