1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
7 use base qw(SL::DB::Object);
9 __PACKAGE__->meta->table('notes');
11 __PACKAGE__->meta->columns(
12 id => { type => 'integer', not_null => 1, sequence => 'note_id' },
13 subject => { type => 'text' },
14 body => { type => 'text' },
15 created_by => { type => 'integer', not_null => 1 },
16 trans_id => { type => 'integer' },
17 trans_module => { type => 'varchar', length => 10 },
18 itime => { type => 'timestamp', default => 'now()' },
19 mtime => { type => 'timestamp' },
22 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
24 __PACKAGE__->meta->allow_inline_column_values(1);
26 __PACKAGE__->meta->foreign_keys(
28 class => 'SL::DB::Employee',
29 key_columns => { created_by => 'id' },
33 # __PACKAGE__->meta->initialize;