RackTables/0_20_11/Result/PatchCableOIFCompat.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RackTables/0_20_11/Result/PatchCableHeapLog.pm ↑ Summary RackTables/0_20_11/Result/PatchCableType.pm »
1 2 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_20_11::Result::PatchCableOIFCompat;
3  
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7 =head1 NAME
8  
9 Schema::RackTables::0_20_11::Result::PatchCableOIFCompat
10  
11 =cut
12  
13 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 2 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 =head1 COMPONENTS LOADED
19  
20 =over 4
21  
22 =item * L<DBIx::Class::InflateColumn::DateTime>
23  
24 =back
25  
26 =cut
27  
28 2 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<PatchCableOIFCompat>
31  
32 =cut
33  
34 2 __PACKAGE__->table("PatchCableOIFCompat");
35  
36 =head1 ACCESSORS
37  
38 =head2 pctype_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 0
44  
45 =head2 oif_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_foreign_key: 1
50 is_nullable: 0
51  
52 =cut
53  
54 2 __PACKAGE__->add_columns(
55 "pctype_id",
56 {
57 data_type => "integer",
58 extra => { unsigned => 1 },
59 is_foreign_key => 1,
60 is_nullable => 0,
61 },
62 "oif_id",
63 {
64 data_type => "integer",
65 extra => { unsigned => 1 },
66 is_foreign_key => 1,
67 is_nullable => 0,
68 },
69 );
70  
71 =head1 PRIMARY KEY
72  
73 =over 4
74  
75 =item * L</pctype_id>
76  
77 =item * L</oif_id>
78  
79 =back
80  
81 =cut
82  
83 2 __PACKAGE__->set_primary_key("pctype_id", "oif_id");
84  
85 =head1 RELATIONS
86  
87 =head2 oif
88  
89 Type: belongs_to
90  
91 Related object: L<Schema::RackTables::0_20_11::Result::PortOuterInterface>
92  
93 =cut
94  
95 2 __PACKAGE__->belongs_to(
96 "oif",
97 "Schema::RackTables::0_20_11::Result::PortOuterInterface",
98 { id => "oif_id" },
99 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
100 );
101  
102 =head2 pctype
103  
104 Type: belongs_to
105  
106 Related object: L<Schema::RackTables::0_20_11::Result::PatchCableType>
107  
108 =cut
109  
110 2 __PACKAGE__->belongs_to(
111 "pctype",
112 "Schema::RackTables::0_20_11::Result::PatchCableType",
113 { id => "pctype_id" },
114 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
115 );
116  
117  
118 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2016-05-12 22:07:10
119 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RgcXdsbXJlj/J3fUs2uKVw
120  
121  
122 # You can replace this text with custom code or comments, and it will be preserved on regeneration
123 2 1;
« RackTables/0_20_11/Result/PatchCableHeapLog.pm ↑ Summary RackTables/0_20_11/Result/PatchCableType.pm »