RackTables/0_20_9/Result/RackObject.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_20_9/Result/Rack.pm ↑ Summary RackTables/0_20_9/Result/RackSpace.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_20_9::Result::RackObject;
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_9::Result::RackObject - VIEW
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 1 __PACKAGE__->table_class("DBIx::Class::ResultSource::View");
30  
31 =head1 TABLE: C<RackObject>
32  
33 =cut
34  
35 1 __PACKAGE__->table("RackObject");
36  
37 =head1 ACCESSORS
38  
39 =head2 id
40  
41 data_type: 'integer'
42 default_value: 0
43 extra: {unsigned => 1}
44 is_nullable: 0
45  
46 =head2 name
47  
48 data_type: 'char'
49 is_nullable: 1
50 size: 255
51  
52 =head2 label
53  
54 data_type: 'char'
55 is_nullable: 1
56 size: 255
57  
58 =head2 objtype_id
59  
60 data_type: 'integer'
61 default_value: 1
62 extra: {unsigned => 1}
63 is_nullable: 0
64  
65 =head2 asset_no
66  
67 data_type: 'char'
68 is_nullable: 1
69 size: 64
70  
71 =head2 has_problems
72  
73 data_type: 'enum'
74 default_value: 'no'
75 extra: {list => ["yes","no"]}
76 is_nullable: 0
77  
78 =head2 comment
79  
80 data_type: 'text'
81 is_nullable: 1
82  
83 =cut
84  
85 1 __PACKAGE__->add_columns(
86 "id",
87 {
88 data_type => "integer",
89 default_value => 0,
90 extra => { unsigned => 1 },
91 is_nullable => 0,
92 },
93 "name",
94 { data_type => "char", is_nullable => 1, size => 255 },
95 "label",
96 { data_type => "char", is_nullable => 1, size => 255 },
97 "objtype_id",
98 {
99 data_type => "integer",
100 default_value => 1,
101 extra => { unsigned => 1 },
102 is_nullable => 0,
103 },
104 "asset_no",
105 { data_type => "char", is_nullable => 1, size => 64 },
106 "has_problems",
107 {
108 data_type => "enum",
109 default_value => "no",
110 extra => { list => ["yes", "no"] },
111 is_nullable => 0,
112 },
113 "comment",
114 { data_type => "text", is_nullable => 1 },
115 );
116  
117  
118 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:01
119 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KTw09XGDg1MGSIH5louzZA
120  
121  
122 # You can replace this text with custom code or comments, and it will be preserved on regeneration
123 1 1;
« RackTables/0_20_9/Result/Rack.pm ↑ Summary RackTables/0_20_9/Result/RackSpace.pm »