NAME

ViennaPM1::DBIC::Monger - DBIx:Class module representing Vienna Perl Monger

DESCRIPTION

DBIx::Class representation of the Monger table.

table

   mongers

columns

   monger_id - PK
        name
        cpan_id
        status

relationships

   __PACKAGE__->might_have( 'personal_life' => 'ViennaPM1::PersonalLife', 'monger_id');
        __PACKAGE__->has_many  ( 'presentations' => 'ViennaPM1::Presentation', 'monger_id');
        __PACKAGE__->belongs_to( 'life_style'    => 'ViennaPM1::LifeStyle',    'life_style_id');

unique constraints

   uniq_cpan_id => [ qw{cpan_id} ]

RESULTSETS

with_cpan_id($cpan_id) : ResultSet

Returns monger whose cpan id equals to $cpan_id

METHODS

status()

Set or get current monger status.

is_active()

Returns false if the monger is disabled otherwise true.