1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::TimeRecordingArticle;
7 use parent qw(SL::DB::Object);
9 __PACKAGE__->meta->table('time_recording_articles');
11 __PACKAGE__->meta->columns(
12 id => { type => 'serial', not_null => 1 },
13 part_id => { type => 'integer', not_null => 1 },
14 position => { type => 'integer', not_null => 1 },
17 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
19 __PACKAGE__->meta->unique_keys([ 'part_id' ]);
21 __PACKAGE__->meta->foreign_keys(
23 class => 'SL::DB::Part',
24 key_columns => { part_id => 'id' },
25 rel_type => 'one to one',