| 1 | 1 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | package Schema::RackTables::0_20_9::Result::PortOuterInterface; | ||
| 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::PortOuterInterface | ||
| 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<PortOuterInterface> | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | 1 | __PACKAGE__->table("PortOuterInterface"); | |
| 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 oif_name | ||
| 46 | |||
| 47 | data_type: 'char' | ||
| 48 | is_nullable: 0 | ||
| 49 | size: 48 | ||
| 50 | |||
| 51 | =cut | ||
| 52 | |||
| 53 | 1 | __PACKAGE__->add_columns( | |
| 54 | "id", | ||
| 55 | { | ||
| 56 | data_type => "integer", | ||
| 57 | extra => { unsigned => 1 }, | ||
| 58 | is_auto_increment => 1, | ||
| 59 | is_nullable => 0, | ||
| 60 | }, | ||
| 61 | "oif_name", | ||
| 62 | { data_type => "char", is_nullable => 0, size => 48 }, | ||
| 63 | ); | ||
| 64 | |||
| 65 | =head1 PRIMARY KEY | ||
| 66 | |||
| 67 | =over 4 | ||
| 68 | |||
| 69 | =item * L</id> | ||
| 70 | |||
| 71 | =back | ||
| 72 | |||
| 73 | =cut | ||
| 74 | |||
| 75 | 1 | __PACKAGE__->set_primary_key("id"); | |
| 76 | |||
| 77 | =head1 UNIQUE CONSTRAINTS | ||
| 78 | |||
| 79 | =head2 C<oif_name> | ||
| 80 | |||
| 81 | =over 4 | ||
| 82 | |||
| 83 | =item * L</oif_name> | ||
| 84 | |||
| 85 | =back | ||
| 86 | |||
| 87 | =cut | ||
| 88 | |||
| 89 | 1 | __PACKAGE__->add_unique_constraint("oif_name", ["oif_name"]); | |
| 90 | |||
| 91 | =head1 RELATIONS | ||
| 92 | |||
| 93 | =head2 patch_cable_oifcompats | ||
| 94 | |||
| 95 | Type: has_many | ||
| 96 | |||
| 97 | Related object: L<Schema::RackTables::0_20_9::Result::PatchCableOIFCompat> | ||
| 98 | |||
| 99 | =cut | ||
| 100 | |||
| 101 | 1 | __PACKAGE__->has_many( | |
| 102 | "patch_cable_oifcompats", | ||
| 103 | "Schema::RackTables::0_20_9::Result::PatchCableOIFCompat", | ||
| 104 | { "foreign.oif_id" => "self.id" }, | ||
| 105 | { cascade_copy => 0, cascade_delete => 0 }, | ||
| 106 | ); | ||
| 107 | |||
| 108 | =head2 port_compat_type1s | ||
| 109 | |||
| 110 | Type: has_many | ||
| 111 | |||
| 112 | Related object: L<Schema::RackTables::0_20_9::Result::PortCompat> | ||
| 113 | |||
| 114 | =cut | ||
| 115 | |||
| 116 | 1 | __PACKAGE__->has_many( | |
| 117 | "port_compat_type1s", | ||
| 118 | "Schema::RackTables::0_20_9::Result::PortCompat", | ||
| 119 | { "foreign.type1" => "self.id" }, | ||
| 120 | { cascade_copy => 0, cascade_delete => 0 }, | ||
| 121 | ); | ||
| 122 | |||
| 123 | =head2 port_compat_type2s | ||
| 124 | |||
| 125 | Type: has_many | ||
| 126 | |||
| 127 | Related object: L<Schema::RackTables::0_20_9::Result::PortCompat> | ||
| 128 | |||
| 129 | =cut | ||
| 130 | |||
| 131 | 1 | __PACKAGE__->has_many( | |
| 132 | "port_compat_type2s", | ||
| 133 | "Schema::RackTables::0_20_9::Result::PortCompat", | ||
| 134 | { "foreign.type2" => "self.id" }, | ||
| 135 | { cascade_copy => 0, cascade_delete => 0 }, | ||
| 136 | ); | ||
| 137 | |||
| 138 | =head2 port_interface_compats | ||
| 139 | |||
| 140 | Type: has_many | ||
| 141 | |||
| 142 | Related object: L<Schema::RackTables::0_20_9::Result::PortInterfaceCompat> | ||
| 143 | |||
| 144 | =cut | ||
| 145 | |||
| 146 | 1 | __PACKAGE__->has_many( | |
| 147 | "port_interface_compats", | ||
| 148 | "Schema::RackTables::0_20_9::Result::PortInterfaceCompat", | ||
| 149 | { "foreign.oif_id" => "self.id" }, | ||
| 150 | { cascade_copy => 0, cascade_delete => 0 }, | ||
| 151 | ); | ||
| 152 | |||
| 153 | =head2 pctypes | ||
| 154 | |||
| 155 | Type: many_to_many | ||
| 156 | |||
| 157 | Composing rels: L</patch_cable_oifcompats> -> pctype | ||
| 158 | |||
| 159 | =cut | ||
| 160 | |||
| 161 | 1 | __PACKAGE__->many_to_many("pctypes", "patch_cable_oifcompats", "pctype"); | |
| 162 | |||
| 163 | |||
| 164 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:01 | ||
| 165 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vnG+ML3zzLgoGajJyVM+Ug | ||
| 166 | |||
| 167 | |||
| 168 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 169 | 1 | 1; | |