| Osgood-Server documentation | Contained in the Osgood-Server distribution. |
Osgood::Server::Model::EventParameter
EventParameters are optional components of an event.
See 'event_parameters' table for all methods.
Copyright 2008 by Magazines.com, LLC
You can redistribute and/or modify this code under the same terms as Perl itself.
| Osgood-Server documentation | Contained in the Osgood-Server distribution. |
package Osgood::Server::Model::EventParameter; use strict;
use base qw/DBIx::Class/; __PACKAGE__->load_components(qw/PK::Auto Core/); __PACKAGE__->table('event_parameters'); __PACKAGE__->add_columns( event_parameter_id => { data_type => 'bigint', is_auto_increment => 1 }, event_id => { data_type => 'bigint', is_foreign_key => 1 }, name => { data_type => 'varchar', size => 64 }, value => { data_type => 'varchar', size => 255 } ); __PACKAGE__->set_primary_key('event_parameter_id');
1;