1 package # hide from PAUSE
2 DBICTest::Schema::Employee;
7 use base qw/DBICTest::BaseResult/;
9 __PACKAGE__->load_components(qw( Ordered ));
11 __PACKAGE__->table('employee');
13 __PACKAGE__->add_columns(
15 data_type => 'integer',
16 is_auto_increment => 1
19 data_type => 'integer',
22 data_type => 'integer',
26 data_type => 'integer',
30 data_type => 'integer',
34 data_type => 'varchar',
39 data_type => 'integer',
44 __PACKAGE__->set_primary_key('employee_id');
45 __PACKAGE__->position_column('position');
47 # Do not add unique constraints here - different groups are used throughout
50 __PACKAGE__->belongs_to (secretkey => 'DBICTest::Schema::Encoded', 'encoded', {