« blib/lib/App/Netdisco/DB/Result/Log.pm
↑ Summary
blib/lib/App/Netdisco/DB/Result/NetmapPositions.pm »
| 1 | use utf8; | ||
| 2 | package App::Netdisco::DB::Result::Manufacturer; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | use base 'App::Netdisco::DB::Result'; | ||
| 8 | __PACKAGE__->table("manufacturer"); | ||
| 9 | |||
| 10 | __PACKAGE__->add_columns( | ||
| 11 | "company", | ||
| 12 | { data_type => "text", is_nullable => 1 }, | ||
| 13 | "abbrev", | ||
| 14 | { data_type => "text", is_nullable => 1 }, | ||
| 15 | "base", | ||
| 16 | { data_type => "text", is_nullable => 0 }, | ||
| 17 | "bits", | ||
| 18 | { data_type => "integer", is_nullable => 1 }, | ||
| 19 | "first", | ||
| 20 | { data_type => "macaddr", is_nullable => 1 }, | ||
| 21 | "last", | ||
| 22 | { data_type => "macaddr", is_nullable => 1 }, | ||
| 23 | "range", | ||
| 24 | { data_type => "int8range", is_nullable => 1 }, | ||
| 25 | ); | ||
| 26 | |||
| 27 | __PACKAGE__->set_primary_key("base"); | ||
| 28 | |||
| 29 | 1; |