RackTables/0_20_9/Result/IPv4Address.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/FileLink.pm ↑ Summary RackTables/0_20_9/Result/IPv4Allocation.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_20_9::Result::IPv4Address;
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::IPv4Address
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<IPv4Address>
31  
32 =cut
33  
34 1 __PACKAGE__->table("IPv4Address");
35  
36 =head1 ACCESSORS
37  
38 =head2 ip
39  
40 data_type: 'integer'
41 default_value: 0
42 extra: {unsigned => 1}
43 is_nullable: 0
44  
45 =head2 name
46  
47 data_type: 'char'
48 default_value: (empty string)
49 is_nullable: 0
50 size: 255
51  
52 =head2 comment
53  
54 data_type: 'char'
55 default_value: (empty string)
56 is_nullable: 0
57 size: 255
58  
59 =head2 reserved
60  
61 data_type: 'enum'
62 extra: {list => ["yes","no"]}
63 is_nullable: 1
64  
65 =cut
66  
67 1 __PACKAGE__->add_columns(
68 "ip",
69 {
70 data_type => "integer",
71 default_value => 0,
72 extra => { unsigned => 1 },
73 is_nullable => 0,
74 },
75 "name",
76 { data_type => "char", default_value => "", is_nullable => 0, size => 255 },
77 "comment",
78 { data_type => "char", default_value => "", is_nullable => 0, size => 255 },
79 "reserved",
80 {
81 data_type => "enum",
82 extra => { list => ["yes", "no"] },
83 is_nullable => 1,
84 },
85 );
86  
87 =head1 PRIMARY KEY
88  
89 =over 4
90  
91 =item * L</ip>
92  
93 =back
94  
95 =cut
96  
97 1 __PACKAGE__->set_primary_key("ip");
98  
99  
100 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:01
101 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R7BmYJxjsezsWqGqz6ldng
102  
103  
104 # You can replace this text with custom code or comments, and it will be preserved on regeneration
105 1 1;
« RackTables/0_20_9/Result/FileLink.pm ↑ Summary RackTables/0_20_9/Result/IPv4Allocation.pm »