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