RackTables/0_18_0/Result/PortInnerInterface.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 23 / 23 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« RackTables/0_18_0/Result/PortCompat.pm ↑ Summary RackTables/0_18_0/Result/PortInterfaceCompat.pm »
1 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Schema::RackTables::0_18_0::Result::PortInnerInterface;
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_18_0::Result::PortInnerInterface
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<PortInnerInterface>
31  
32 =cut
33  
34 1 __PACKAGE__->table("PortInnerInterface");
35  
36 =head1 ACCESSORS
37  
38 =head2 id
39  
40 data_type: 'integer'
41 extra: {unsigned => 1}
42 is_nullable: 0
43  
44 =head2 iif_name
45  
46 data_type: 'char'
47 is_nullable: 0
48 size: 16
49  
50 =cut
51  
52 1 __PACKAGE__->add_columns(
53 "id",
54 { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 },
55 "iif_name",
56 { data_type => "char", is_nullable => 0, size => 16 },
57 );
58  
59 =head1 PRIMARY KEY
60  
61 =over 4
62  
63 =item * L</id>
64  
65 =back
66  
67 =cut
68  
69 1 __PACKAGE__->set_primary_key("id");
70  
71 =head1 UNIQUE CONSTRAINTS
72  
73 =head2 C<iif_name>
74  
75 =over 4
76  
77 =item * L</iif_name>
78  
79 =back
80  
81 =cut
82  
83 1 __PACKAGE__->add_unique_constraint("iif_name", ["iif_name"]);
84  
85 =head1 RELATIONS
86  
87 =head2 port_interface_compats
88  
89 Type: has_many
90  
91 Related object: L<Schema::RackTables::0_18_0::Result::PortInterfaceCompat>
92  
93 =cut
94  
95 1 __PACKAGE__->has_many(
96 "port_interface_compats",
97 "Schema::RackTables::0_18_0::Result::PortInterfaceCompat",
98 { "foreign.iif_id" => "self.id" },
99 { cascade_copy => 0, cascade_delete => 0 },
100 );
101  
102  
103 # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:03:44
104 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WWnumxehBdLQGHBRLg7WYg
105  
106  
107 # You can replace this text with custom code or comments, and it will be preserved on regeneration
108 1 1;
« RackTables/0_18_0/Result/PortCompat.pm ↑ Summary RackTables/0_18_0/Result/PortInterfaceCompat.pm »