1 package # hide from PAUSE
2 DBICTest::Schema::Employee;
4 use base qw/DBICTest::BaseResult/;
6 __PACKAGE__->load_components(qw( Ordered ));
8 __PACKAGE__->table('employee');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
13 is_auto_increment => 1
16 data_type => 'integer',
19 data_type => 'integer',
23 data_type => 'integer',
27 data_type => 'integer',
31 data_type => 'varchar',
36 data_type => 'integer',
41 __PACKAGE__->set_primary_key('employee_id');
42 __PACKAGE__->position_column('position');
44 # Do not add unique constraints here - different groups are used throughout
47 __PACKAGE__->belongs_to (secretkey => 'DBICTest::Schema::Encoded', 'encoded', {