| 1 | use utf8; | ||
| 2 | package Schema::RackTables::0_15_0::Result::PortForwarding; | ||
| 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_15_0::Result::PortForwarding | ||
| 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<PortForwarding> | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | __PACKAGE__->table("PortForwarding"); | ||
| 35 | |||
| 36 | =head1 ACCESSORS | ||
| 37 | |||
| 38 | =head2 object_id | ||
| 39 | |||
| 40 | data_type: 'integer' | ||
| 41 | extra: {unsigned => 1} | ||
| 42 | is_nullable: 0 | ||
| 43 | |||
| 44 | =head2 proto | ||
| 45 | |||
| 46 | data_type: 'enum' | ||
| 47 | default_value: 'TCP' | ||
| 48 | extra: {list => ["TCP","UDP"]} | ||
| 49 | is_nullable: 0 | ||
| 50 | |||
| 51 | =head2 localip | ||
| 52 | |||
| 53 | data_type: 'integer' | ||
| 54 | extra: {unsigned => 1} | ||
| 55 | is_nullable: 0 | ||
| 56 | |||
| 57 | =head2 localport | ||
| 58 | |||
| 59 | data_type: 'smallint' | ||
| 60 | extra: {unsigned => 1} | ||
| 61 | is_nullable: 0 | ||
| 62 | |||
| 63 | =head2 remoteip | ||
| 64 | |||
| 65 | data_type: 'integer' | ||
| 66 | extra: {unsigned => 1} | ||
| 67 | is_nullable: 0 | ||
| 68 | |||
| 69 | =head2 remoteport | ||
| 70 | |||
| 71 | data_type: 'smallint' | ||
| 72 | extra: {unsigned => 1} | ||
| 73 | is_nullable: 0 | ||
| 74 | |||
| 75 | =head2 description | ||
| 76 | |||
| 77 | data_type: 'char' | ||
| 78 | is_nullable: 1 | ||
| 79 | size: 255 | ||
| 80 | |||
| 81 | =cut | ||
| 82 | |||
| 83 | __PACKAGE__->add_columns( | ||
| 84 | "object_id", | ||
| 85 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 86 | "proto", | ||
| 87 | { | ||
| 88 | data_type => "enum", | ||
| 89 | default_value => "TCP", | ||
| 90 | extra => { list => ["TCP", "UDP"] }, | ||
| 91 | is_nullable => 0, | ||
| 92 | }, | ||
| 93 | "localip", | ||
| 94 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 95 | "localport", | ||
| 96 | { data_type => "smallint", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 97 | "remoteip", | ||
| 98 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 99 | "remoteport", | ||
| 100 | { data_type => "smallint", extra => { unsigned => 1 }, is_nullable => 0 }, | ||
| 101 | "description", | ||
| 102 | { data_type => "char", is_nullable => 1, size => 255 }, | ||
| 103 | ); | ||
| 104 | |||
| 105 | =head1 PRIMARY KEY | ||
| 106 | |||
| 107 | =over 4 | ||
| 108 | |||
| 109 | =item * L</object_id> | ||
| 110 | |||
| 111 | =item * L</proto> | ||
| 112 | |||
| 113 | =item * L</localip> | ||
| 114 | |||
| 115 | =item * L</localport> | ||
| 116 | |||
| 117 | =item * L</remoteip> | ||
| 118 | |||
| 119 | =item * L</remoteport> | ||
| 120 | |||
| 121 | =back | ||
| 122 | |||
| 123 | =cut | ||
| 124 | |||
| 125 | __PACKAGE__->set_primary_key( | ||
| 126 | "object_id", | ||
| 127 | "proto", | ||
| 128 | "localip", | ||
| 129 | "localport", | ||
| 130 | "remoteip", | ||
| 131 | "remoteport", | ||
| 132 | ); | ||
| 133 | |||
| 134 | |||
| 135 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:05:06 | ||
| 136 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MTN5GG4tw8nGaIct51qD4A | ||
| 137 | |||
| 138 | |||
| 139 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 140 | 1; |