blib/lib/RackTables/Schema/Result/IPv6Network.pm

filter: Statementstmt 100% 23 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/RackTables/Schema/Result/IPv6Allocation.pm ↑ Summary blib/lib/RackTables/Schema/Result/LDAPCache.pm »
1 package RackTables::Schema::Result::IPv6Network;
2  
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5  
6 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use MooseX::NonMoose;
Subroutine BEGIN: called CC=1 SCAR=0.0
11 1 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 1 extends 'DBIx::Class::Core';
13  
14  
15 =head1 NAME
16  
17 RackTables::Schema::Result::IPv6Network
18  
19 =cut
20  
21 1 __PACKAGE__->table("IPv6Network");
22  
23 =head1 ACCESSORS
24  
25 =head2 id
26  
27 data_type: 'integer'
28 extra: {unsigned => 1}
29 is_auto_increment: 1
30 is_nullable: 0
31  
32 =head2 ip
33  
34 data_type: 'binary'
35 is_nullable: 0
36 size: 16
37  
38 =head2 mask
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_nullable: 0
43  
44 =head2 last_ip
45  
46 data_type: 'binary'
47 is_nullable: 0
48 size: 16
49  
50 =head2 name
51  
52 data_type: 'char'
53 is_nullable: 1
54 size: 255
55  
56 =head2 comment
57  
58 data_type: 'text'
59 is_nullable: 1
60  
61 =cut
62  
63 1 __PACKAGE__->add_columns(
64 "id",
65 {
66 data_type => "integer",
67 extra => { unsigned => 1 },
68 is_auto_increment => 1,
69 is_nullable => 0,
70 },
71 "ip",
72 { data_type => "binary", is_nullable => 0, size => 16 },
73 "mask",
74 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
75 "last_ip",
76 { data_type => "binary", is_nullable => 0, size => 16 },
77 "name",
78 { data_type => "char", is_nullable => 1, size => 255 },
79 "comment",
80 { data_type => "text", is_nullable => 1 },
81 );
82 1 __PACKAGE__->set_primary_key("id");
83 1 __PACKAGE__->add_unique_constraint("ip", ["ip", "mask"]);
84  
85 =head1 RELATIONS
86  
87 =head2 vlanipv6s
88  
89 Type: has_many
90  
91 Related object: L<RackTables::Schema::Result::VLANIPv6>
92  
93 =cut
94  
95 1 __PACKAGE__->has_many(
96 "vlanipv6s",
97 "RackTables::Schema::Result::VLANIPv6",
98 { "foreign.ipv6net_id" => "self.id" },
99 { cascade_copy => 0, cascade_delete => 0 },
100 );
101  
102  
103 # Created by DBIx::Class::Schema::Loader v0.07010 @ 2011-10-26 11:34:02
104 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fqxIMouDqRaLPqHSbjd16A
105  
106  
107 # You can replace this text with custom code or comments, and it will be preserved on regeneration
108 1 __PACKAGE__->meta->make_immutable;
109 1 1;
« blib/lib/RackTables/Schema/Result/IPv6Allocation.pm ↑ Summary blib/lib/RackTables/Schema/Result/LDAPCache.pm »