RackTables/0_14_4/Result/RackSpace.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RackTables/0_14_4/Result/RackObjectHistory.pm ↑ Summary RackTables/0_14_4/Result/UserAccount.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_14_4::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_14_4::Result::RackSpace
10  
11 =cut
12  
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16 1 ▶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 1 __PACKAGE__->load_components("InflateColumn::DateTime");
29  
30 =head1 TABLE: C<RackSpace>
31  
32 =cut
33  
34 1 __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 =head2 problem_id
73  
74 data_type: 'integer'
75 extra: {unsigned => 1}
76 is_nullable: 1
77  
78 =cut
79  
80 1 __PACKAGE__->add_columns(
81 "rack_id",
82 {
83 data_type => "integer",
84 default_value => 0,
85 extra => { unsigned => 1 },
86 is_nullable => 0,
87 },
88 "unit_no",
89 {
90 data_type => "integer",
91 default_value => 0,
92 extra => { unsigned => 1 },
93 is_nullable => 0,
94 },
95 "atom",
96 {
97 data_type => "enum",
98 default_value => "interior",
99 extra => { list => ["front", "interior", "rear"] },
100 is_nullable => 0,
101 },
102 "state",
103 {
104 data_type => "enum",
105 default_value => "A",
106 extra => { list => ["A", "U", "T", "W"] },
107 is_nullable => 0,
108 },
109 "object_id",
110 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
111 "problem_id",
112 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
113 );
114  
115 =head1 PRIMARY KEY
116  
117 =over 4
118  
119 =item * L</rack_id>
120  
121 =item * L</unit_no>
122  
123 =item * L</atom>
124  
125 =back
126  
127 =cut
128  
129 1 __PACKAGE__->set_primary_key("rack_id", "unit_no", "atom");
130  
131  
132 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:11:48
133 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XC4hX0ASIsFZETOfWG8k9Q
134  
135  
136 # You can replace this text with custom code or comments, and it will be preserved on regeneration
137 1 1;
« RackTables/0_14_4/Result/RackObjectHistory.pm ↑ Summary RackTables/0_14_4/Result/UserAccount.pm »