RackTables/0_17_0/Result/RackSpace.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 22 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_17_0::Result::RackSpace;
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_17_0::Result::RackSpace
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<RackSpace>
31  
32 =cut
33  
34 __PACKAGE__->table("RackSpace");
35  
36 =head1 ACCESSORS
37  
38 =head2 rack_id
39  
40 data_type: 'integer'
41 default_value: 0
42 extra: {unsigned => 1}
43 is_nullable: 0
44  
45 =head2 unit_no
46  
47 data_type: 'integer'
48 default_value: 0
49 extra: {unsigned => 1}
50 is_nullable: 0
51  
52 =head2 atom
53  
54 data_type: 'enum'
55 default_value: 'interior'
56 extra: {list => ["front","interior","rear"]}
57 is_nullable: 0
58  
59 =head2 state
60  
61 data_type: 'enum'
62 default_value: 'A'
63 extra: {list => ["A","U","T","W"]}
64 is_nullable: 0
65  
66 =head2 object_id
67  
68 data_type: 'integer'
69 extra: {unsigned => 1}
70 is_nullable: 1
71  
72 =cut
73  
74 __PACKAGE__->add_columns(
75 "rack_id",
76 {
77 data_type => "integer",
78 default_value => 0,
79 extra => { unsigned => 1 },
80 is_nullable => 0,
81 },
82 "unit_no",
83 {
84 data_type => "integer",
85 default_value => 0,
86 extra => { unsigned => 1 },
87 is_nullable => 0,
88 },
89 "atom",
90 {
91 data_type => "enum",
92 default_value => "interior",
93 extra => { list => ["front", "interior", "rear"] },
94 is_nullable => 0,
95 },
96 "state",
97 {
98 data_type => "enum",
99 default_value => "A",
100 extra => { list => ["A", "U", "T", "W"] },
101 is_nullable => 0,
102 },
103 "object_id",
104 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
105 );
106  
107 =head1 PRIMARY KEY
108  
109 =over 4
110  
111 =item * L</rack_id>
112  
113 =item * L</unit_no>
114  
115 =item * L</atom>
116  
117 =back
118  
119 =cut
120  
121 __PACKAGE__->set_primary_key("rack_id", "unit_no", "atom");
122  
123  
124 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:04:34
125 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aQ43XcdoN2VmwsHpnyaZvQ
126  
127  
128 # You can replace this text with custom code or comments, and it will be preserved on regeneration
129 1;