RackTables/0_20_6/Result/VLANValidID.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 28 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::VLANValidID;
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::VLANValidID
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<VLANValidID>
31  
32 =cut
33  
34 __PACKAGE__->table("VLANValidID");
35  
36 =head1 ACCESSORS
37  
38 =head2 vlan_id
39  
40 data_type: 'integer'
41 default_value: 1
42 extra: {unsigned => 1}
43 is_nullable: 0
44  
45 =cut
46  
47 __PACKAGE__->add_columns(
48 "vlan_id",
49 {
50 data_type => "integer",
51 default_value => 1,
52 extra => { unsigned => 1 },
53 is_nullable => 0,
54 },
55 );
56  
57 =head1 PRIMARY KEY
58  
59 =over 4
60  
61 =item * L</vlan_id>
62  
63 =back
64  
65 =cut
66  
67 __PACKAGE__->set_primary_key("vlan_id");
68  
69 =head1 RELATIONS
70  
71 =head2 cached_pavs
72  
73 Type: has_many
74  
75 Related object: L<Schema::RackTables::0_20_6::Result::CachedPAV>
76  
77 =cut
78  
79 __PACKAGE__->has_many(
80 "cached_pavs",
81 "Schema::RackTables::0_20_6::Result::CachedPAV",
82 { "foreign.vlan_id" => "self.vlan_id" },
83 { cascade_copy => 0, cascade_delete => 0 },
84 );
85  
86 =head2 port_allowed_vlans
87  
88 Type: has_many
89  
90 Related object: L<Schema::RackTables::0_20_6::Result::PortAllowedVLAN>
91  
92 =cut
93  
94 __PACKAGE__->has_many(
95 "port_allowed_vlans",
96 "Schema::RackTables::0_20_6::Result::PortAllowedVLAN",
97 { "foreign.vlan_id" => "self.vlan_id" },
98 { cascade_copy => 0, cascade_delete => 0 },
99 );
100  
101 =head2 vlandescriptions
102  
103 Type: has_many
104  
105 Related object: L<Schema::RackTables::0_20_6::Result::VLANDescription>
106  
107 =cut
108  
109 __PACKAGE__->has_many(
110 "vlandescriptions",
111 "Schema::RackTables::0_20_6::Result::VLANDescription",
112 { "foreign.vlan_id" => "self.vlan_id" },
113 { cascade_copy => 0, cascade_delete => 0 },
114 );
115  
116 =head2 cached_pvms
117  
118 Type: many_to_many
119  
120 Composing rels: L</cached_pavs> -> cached_pvm
121  
122 =cut
123  
124 __PACKAGE__->many_to_many("cached_pvms", "cached_pavs", "cached_pvm");
125  
126 =head2 port_vlanmodes
127  
128 Type: many_to_many
129  
130 Composing rels: L</port_allowed_vlans> -> port_vlanmode
131  
132 =cut
133  
134 __PACKAGE__->many_to_many("port_vlanmodes", "port_allowed_vlans", "port_vlanmode");
135  
136  
137 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:20
138 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Hjj3Bvsg6WvtK0ebhLicPQ
139  
140  
141 # You can replace this text with custom code or comments, and it will be preserved on regeneration
142 1;