| 1 | use utf8; | ||
| 2 | package Schema::RackTables::0_20_5::Result::Rack; | ||
| 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_5::Result::Rack - VIEW | ||
| 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 | __PACKAGE__->table_class("DBIx::Class::ResultSource::View"); | ||
| 30 | |||
| 31 | =head1 TABLE: C<Rack> | ||
| 32 | |||
| 33 | =cut | ||
| 34 | |||
| 35 | __PACKAGE__->table("Rack"); | ||
| 36 | |||
| 37 | =head1 ACCESSORS | ||
| 38 | |||
| 39 | =head2 id | ||
| 40 | |||
| 41 | data_type: 'integer' | ||
| 42 | default_value: 0 | ||
| 43 | extra: {unsigned => 1} | ||
| 44 | is_nullable: 0 | ||
| 45 | |||
| 46 | =head2 name | ||
| 47 | |||
| 48 | data_type: 'char' | ||
| 49 | is_nullable: 1 | ||
| 50 | size: 255 | ||
| 51 | |||
| 52 | =head2 asset_no | ||
| 53 | |||
| 54 | data_type: 'char' | ||
| 55 | is_nullable: 1 | ||
| 56 | size: 64 | ||
| 57 | |||
| 58 | =head2 has_problems | ||
| 59 | |||
| 60 | data_type: 'enum' | ||
| 61 | default_value: 'no' | ||
| 62 | extra: {list => ["yes","no"]} | ||
| 63 | is_nullable: 0 | ||
| 64 | |||
| 65 | =head2 comment | ||
| 66 | |||
| 67 | data_type: 'text' | ||
| 68 | is_nullable: 1 | ||
| 69 | |||
| 70 | =head2 height | ||
| 71 | |||
| 72 | data_type: 'integer' | ||
| 73 | extra: {unsigned => 1} | ||
| 74 | is_nullable: 1 | ||
| 75 | |||
| 76 | =head2 sort_order | ||
| 77 | |||
| 78 | data_type: 'integer' | ||
| 79 | extra: {unsigned => 1} | ||
| 80 | is_nullable: 1 | ||
| 81 | |||
| 82 | =head2 thumb_data | ||
| 83 | |||
| 84 | data_type: 'blob' | ||
| 85 | is_nullable: 1 | ||
| 86 | |||
| 87 | =head2 row_id | ||
| 88 | |||
| 89 | data_type: 'integer' | ||
| 90 | default_value: 0 | ||
| 91 | extra: {unsigned => 1} | ||
| 92 | is_nullable: 0 | ||
| 93 | |||
| 94 | =head2 row_name | ||
| 95 | |||
| 96 | data_type: 'char' | ||
| 97 | is_nullable: 1 | ||
| 98 | size: 255 | ||
| 99 | |||
| 100 | =head2 location_id | ||
| 101 | |||
| 102 | data_type: 'integer' | ||
| 103 | default_value: 0 | ||
| 104 | extra: {unsigned => 1} | ||
| 105 | is_nullable: 1 | ||
| 106 | |||
| 107 | =head2 location_name | ||
| 108 | |||
| 109 | data_type: 'char' | ||
| 110 | is_nullable: 1 | ||
| 111 | size: 255 | ||
| 112 | |||
| 113 | =cut | ||
| 114 | |||
| 115 | __PACKAGE__->add_columns( | ||
| 116 | "id", | ||
| 117 | { | ||
| 118 | data_type => "integer", | ||
| 119 | default_value => 0, | ||
| 120 | extra => { unsigned => 1 }, | ||
| 121 | is_nullable => 0, | ||
| 122 | }, | ||
| 123 | "name", | ||
| 124 | { data_type => "char", is_nullable => 1, size => 255 }, | ||
| 125 | "asset_no", | ||
| 126 | { data_type => "char", is_nullable => 1, size => 64 }, | ||
| 127 | "has_problems", | ||
| 128 | { | ||
| 129 | data_type => "enum", | ||
| 130 | default_value => "no", | ||
| 131 | extra => { list => ["yes", "no"] }, | ||
| 132 | is_nullable => 0, | ||
| 133 | }, | ||
| 134 | "comment", | ||
| 135 | { data_type => "text", is_nullable => 1 }, | ||
| 136 | "height", | ||
| 137 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 138 | "sort_order", | ||
| 139 | { data_type => "integer", extra => { unsigned => 1 }, is_nullable => 1 }, | ||
| 140 | "thumb_data", | ||
| 141 | { data_type => "blob", is_nullable => 1 }, | ||
| 142 | "row_id", | ||
| 143 | { | ||
| 144 | data_type => "integer", | ||
| 145 | default_value => 0, | ||
| 146 | extra => { unsigned => 1 }, | ||
| 147 | is_nullable => 0, | ||
| 148 | }, | ||
| 149 | "row_name", | ||
| 150 | { data_type => "char", is_nullable => 1, size => 255 }, | ||
| 151 | "location_id", | ||
| 152 | { | ||
| 153 | data_type => "integer", | ||
| 154 | default_value => 0, | ||
| 155 | extra => { unsigned => 1 }, | ||
| 156 | is_nullable => 1, | ||
| 157 | }, | ||
| 158 | "location_name", | ||
| 159 | { data_type => "char", is_nullable => 1, size => 255 }, | ||
| 160 | ); | ||
| 161 | |||
| 162 | |||
| 163 | # Created by DBIx::Class::Schema::Loader v0.07043 @ 2015-10-22 23:01:25 | ||
| 164 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6b3faiawO06qDdesykFYUg | ||
| 165 | |||
| 166 | |||
| 167 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 168 | 1; |