« blib/lib/App/Netdisco/DB/Result/DeviceVrf.pm
↑ Summary
blib/lib/App/Netdisco/DB/Result/L3Domain.pm »
| 1 | use utf8; | ||
| 2 | package App::Netdisco::DB::Result::Enterprise; | ||
| 3 | |||
| 4 | use strict; | ||
| 5 | use warnings; | ||
| 6 | |||
| 7 | use base 'App::Netdisco::DB::Result'; | ||
| 8 | __PACKAGE__->table("enterprise"); | ||
| 9 | |||
| 10 | __PACKAGE__->add_columns( | ||
| 11 | "enterprise_number", | ||
| 12 | { data_type => "integer", is_nullable => 0 }, | ||
| 13 | "organization", | ||
| 14 | { data_type => "text", is_nullable => 0 }, | ||
| 15 | ); | ||
| 16 | |||
| 17 | __PACKAGE__->set_primary_key("enterprise_number"); | ||
| 18 | |||
| 19 | 1; |