RackTables/0_19_13/Result/VLANSwitchTemplate.pm untested

filter: Statementstmt 0.0% 0 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 26 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_19_13::Result::VLANSwitchTemplate;
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_19_13::Result::VLANSwitchTemplate
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<VLANSwitchTemplate>
31  
32 =cut
33  
34 __PACKAGE__->table("VLANSwitchTemplate");
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 mutex_rev
46  
47 data_type: 'integer'
48 is_nullable: 0
49  
50 =head2 description
51  
52 data_type: 'char'
53 is_nullable: 1
54 size: 255
55  
56 =head2 saved_by
57  
58 data_type: 'char'
59 is_nullable: 0
60 size: 64
61  
62 =cut
63  
64 __PACKAGE__->add_columns(
65 "id",
66 {
67 data_type => "integer",
68 extra => { unsigned => 1 },
69 is_auto_increment => 1,
70 is_nullable => 0,
71 },
72 "mutex_rev",
73 { data_type => "integer", is_nullable => 0 },
74 "description",
75 { data_type => "char", is_nullable => 1, size => 255 },
76 "saved_by",
77 { data_type => "char", is_nullable => 0, size => 64 },
78 );
79  
80 =head1 PRIMARY KEY
81  
82 =over 4
83  
84 =item * L</id>
85  
86 =back
87  
88 =cut
89  
90 __PACKAGE__->set_primary_key("id");
91  
92 =head1 UNIQUE CONSTRAINTS
93  
94 =head2 C<description>
95  
96 =over 4
97  
98 =item * L</description>
99  
100 =back
101  
102 =cut
103  
104 __PACKAGE__->add_unique_constraint("description", ["description"]);
105  
106 =head1 RELATIONS
107  
108 =head2 vlanstrules
109  
110 Type: has_many
111  
112 Related object: L<Schema::RackTables::0_19_13::Result::VLANSTRule>
113  
114 =cut
115  
116 __PACKAGE__->has_many(
117 "vlanstrules",
118 "Schema::RackTables::0_19_13::Result::VLANSTRule",
119 { "foreign.vst_id" => "self.id" },
120 { cascade_copy => 0, cascade_delete => 0 },
121 );
122  
123 =head2 vlanswitches
124  
125 Type: has_many
126  
127 Related object: L<Schema::RackTables::0_19_13::Result::VLANSwitch>
128  
129 =cut
130  
131 __PACKAGE__->has_many(
132 "vlanswitches",
133 "Schema::RackTables::0_19_13::Result::VLANSwitch",
134 { "foreign.template_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:02:40
140 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LCjUMd7VeT4d5uE0Hu6Agw
141  
142  
143 # You can replace this text with custom code or comments, and it will be preserved on regeneration
144 1;