RackTables/0_20_6/Result/Atom.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_20_6::Result::Atom;
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_6::Result::Atom
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<Atom>
31  
32 =cut
33  
34 __PACKAGE__->table("Atom");
35  
36 =head1 ACCESSORS
37  
38 =head2 molecule_id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_foreign_key: 1
43 is_nullable: 1
44  
45 =head2 rack_id
46  
47 data_type: 'integer'
48 extra: {unsigned => 1}
49 is_foreign_key: 1
50 is_nullable: 1
51  
52 =head2 unit_no
53  
54 data_type: 'integer'
55 extra: {unsigned => 1}
56 is_nullable: 1
57  
58 =head2 atom
59  
60 data_type: 'enum'
61 extra: {list => ["front","interior","rear"]}
62 is_nullable: 1
63  
64 =cut
65  
66 __PACKAGE__->add_columns(
67 "molecule_id",
68 {
69 data_type => "integer",
70 extra => { unsigned => 1 },
71 is_foreign_key => 1,
72 is_nullable => 1,
73 },
74 "rack_id",
75 {
76 data_type => "integer",
77 extra => { unsigned => 1 },
78 is_foreign_key => 1,
79 is_nullable => 1,
80 },
81 "unit_no",
82 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 },
83 "atom",
84 {
85 data_type => "enum",
86 extra => { list => ["front", "interior", "rear"] },
87 is_nullable => 1,
88 },
89 );
90  
91 =head1 RELATIONS
92  
93 =head2 molecule
94  
95 Type: belongs_to
96  
97 Related object: L<Schema::RackTables::0_20_6::Result::Molecule>
98  
99 =cut
100  
101 __PACKAGE__->belongs_to(
102 "molecule",
103 "Schema::RackTables::0_20_6::Result::Molecule",
104 { id => "molecule_id" },
105 {
106 is_deferrable => 1,
107 join_type => "LEFT",
108 on_delete => "CASCADE",
109 on_update => "RESTRICT",
110 },
111 );
112  
113 =head2 rack
114  
115 Type: belongs_to
116  
117 Related object: L<Schema::RackTables::0_20_6::Result::Object>
118  
119 =cut
120  
121 __PACKAGE__->belongs_to(
122 "rack",
123 "Schema::RackTables::0_20_6::Result::Object",
124 { id => "rack_id" },
125 {
126 is_deferrable => 1,
127 join_type => "LEFT",
128 on_delete => "CASCADE",
129 on_update => "RESTRICT",
130 },
131 );
132  
133  
134 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:19
135 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PFWikszxMEjJ8MvDyA9r4Q
136  
137  
138 # You can replace this text with custom code or comments, and it will be preserved on regeneration
139 1;