« blib/lib/App/Netdisco/DB/Result/NodeWireless.pm
↑ Summary
blib/lib/App/Netdisco/DB/Result/Process.pm »
| 1 | use utf8; | ||
| 2 | package App::Netdisco::DB::Result::Oui; | ||
| 3 | |||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | use base 'App::Netdisco::DB::Result'; | ||
| 9 | __PACKAGE__->table("oui"); | ||
| 10 | __PACKAGE__->add_columns( | ||
| 11 | "oui", | ||
| 12 | { data_type => "varchar", is_nullable => 0, size => 8 }, | ||
| 13 | "company", | ||
| 14 | { data_type => "text", is_nullable => 1 }, | ||
| 15 | "abbrev", | ||
| 16 | { data_type => "text", is_nullable => 1 }, | ||
| 17 | ); | ||
| 18 | __PACKAGE__->set_primary_key("oui"); | ||
| 19 | |||
| 20 | 1; |