RackTables/0_20_4/Result/IPv4LB.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2 package Schema::RackTables::0_20_4::Result::IPv4LB;
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_4::Result::IPv4LB
10  
11 =cut
12  
13 use strict;
14 use warnings;
15  
16 use base 'DBIx::Class::Core';
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 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<IPv4LB>
31  
32 =cut
33  
34 __PACKAGE__->table("IPv4LB");
35  
36 =head1 ACCESSORS
37  
38 =head2 object_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 1
44  
45 =head2 rspool_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_foreign_key: 1
50 is_nullable: 1
51  
52 =head2 vs_id
53  
54 data_type: 'integer'
55 extra: {unsigned => 1}
56 is_foreign_key: 1
57 is_nullable: 1
58  
59 =head2 prio
60  
61 data_type: 'varchar'
62 is_nullable: 1
63 size: 255
64  
65 =head2 vsconfig
66  
67 data_type: 'text'
68 is_nullable: 1
69  
70 =head2 rsconfig
71  
72 data_type: 'text'
73 is_nullable: 1
74  
75 =cut
76  
77 __PACKAGE__->add_columns(
78 "object_id",
79 {
80 data_type => "integer",
81 extra => { unsigned => 1 },
82 is_foreign_key => 1,
83 is_nullable => 1,
84 },
85 "rspool_id",
86 {
87 data_type => "integer",
88 extra => { unsigned => 1 },
89 is_foreign_key => 1,
90 is_nullable => 1,
91 },
92 "vs_id",
93 {
94 data_type => "integer",
95 extra => { unsigned => 1 },
96 is_foreign_key => 1,
97 is_nullable => 1,
98 },
99 "prio",
100 { data_type => "varchar", is_nullable => 1, size => 255 },
101 "vsconfig",
102 { data_type => "text", is_nullable => 1 },
103 "rsconfig",
104 { data_type => "text", is_nullable => 1 },
105 );
106  
107 =head1 UNIQUE CONSTRAINTS
108  
109 =head2 C<LB-VS>
110  
111 =over 4
112  
113 =item * L</object_id>
114  
115 =item * L</vs_id>
116  
117 =back
118  
119 =cut
120  
121 __PACKAGE__->add_unique_constraint("LB-VS", ["object_id", "vs_id"]);
122  
123 =head1 RELATIONS
124  
125 =head2 object
126  
127 Type: belongs_to
128  
129 Related object: L<Schema::RackTables::0_20_4::Result::Object>
130  
131 =cut
132  
133 __PACKAGE__->belongs_to(
134 "object",
135 "Schema::RackTables::0_20_4::Result::Object",
136 { id => "object_id" },
137 {
138 is_deferrable => 1,
139 join_type => "LEFT",
140 on_delete => "RESTRICT",
141 on_update => "RESTRICT",
142 },
143 );
144  
145 =head2 rspool
146  
147 Type: belongs_to
148  
149 Related object: L<Schema::RackTables::0_20_4::Result::IPv4RSPool>
150  
151 =cut
152  
153 __PACKAGE__->belongs_to(
154 "rspool",
155 "Schema::RackTables::0_20_4::Result::IPv4RSPool",
156 { id => "rspool_id" },
157 {
158 is_deferrable => 1,
159 join_type => "LEFT",
160 on_delete => "RESTRICT",
161 on_update => "RESTRICT",
162 },
163 );
164  
165 =head2 v
166  
167 Type: belongs_to
168  
169 Related object: L<Schema::RackTables::0_20_4::Result::IPv4VS>
170  
171 =cut
172  
173 __PACKAGE__->belongs_to(
174 "v",
175 "Schema::RackTables::0_20_4::Result::IPv4VS",
176 { id => "vs_id" },
177 {
178 is_deferrable => 1,
179 join_type => "LEFT",
180 on_delete => "RESTRICT",
181 on_update => "RESTRICT",
182 },
183 );
184  
185  
186 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:30
187 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GTqSTTXNlukk2RBS5GERkA
188  
189  
190 # You can replace this text with custom code or comments, and it will be preserved on regeneration
191 1;