RackTables/0_18_1/Result/IPv4VS.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 23 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_18_1::Result::IPv4VS;
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_18_1::Result::IPv4VS
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<IPv4VS>
31  
32 =cut
33  
34 __PACKAGE__->table("IPv4VS");
35  
36 =head1 ACCESSORS
37  
38 =head2 id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_auto_increment: 1
43 is_nullable: 0
44  
45 =head2 vip
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_nullable: 1
50  
51 =head2 vport
52  
53 data_type: 'smallint'
54 extra: {unsigned => 1}
55 is_nullable: 1
56  
57 =head2 proto
58  
59 data_type: 'enum'
60 default_value: 'TCP'
61 extra: {list => ["TCP","UDP"]}
62 is_nullable: 0
63  
64 =head2 name
65  
66 data_type: 'char'
67 is_nullable: 1
68 size: 255
69  
70 =head2 vsconfig
71  
72 data_type: 'text'
73 is_nullable: 1
74  
75 =head2 rsconfig
76  
77 data_type: 'text'
78 is_nullable: 1
79  
80 =cut
81  
82 __PACKAGE__->add_columns(
83 "id",
84 {
85 data_type => "integer",
86 extra => { unsigned => 1 },
87 is_auto_increment => 1,
88 is_nullable => 0,
89 },
90 "vip",
91 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
92 "vport",
93 { data_type => "smallint", extra => { unsigned => 1 }, is_nullable => 1 },
94 "proto",
95 {
96 data_type => "enum",
97 default_value => "TCP",
98 extra => { list => ["TCP", "UDP"] },
99 is_nullable => 0,
100 },
101 "name",
102 { data_type => "char", is_nullable => 1, size => 255 },
103 "vsconfig",
104 { data_type => "text", is_nullable => 1 },
105 "rsconfig",
106 { data_type => "text", is_nullable => 1 },
107 );
108  
109 =head1 PRIMARY KEY
110  
111 =over 4
112  
113 =item * L</id>
114  
115 =back
116  
117 =cut
118  
119 __PACKAGE__->set_primary_key("id");
120  
121 =head1 RELATIONS
122  
123 =head2 ipv4_lbs
124  
125 Type: has_many
126  
127 Related object: L<Schema::RackTables::0_18_1::Result::IPv4LB>
128  
129 =cut
130  
131 __PACKAGE__->has_many(
132 "ipv4_lbs",
133 "Schema::RackTables::0_18_1::Result::IPv4LB",
134 { "foreign.vs_id" => "self.id" },
135 { cascade_copy => 0, cascade_delete => 0 },
136 );
137  
138  
139 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:03:39
140 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ysj08Vp1eKTh5lps9dCngQ
141  
142  
143 # You can replace this text with custom code or comments, and it will be preserved on regeneration
144 1;