package LIMS::DB::RequestSpecimenDetail; use base qw(LIMS::RDBO); #=begin __PACKAGE__->meta->setup( table => 'request_specimen_detail', columns => [ request_id => { type => 'integer', not_null => 1 }, detail => { type => 'varchar', length => 255, not_null => 1 }, description => { type => 'enum', check_in => [ 'biopsy_site','gross_description','specimen_quality' ], not_null => 1, }, ], primary_key_columns => [ 'request_id','description' ], foreign_keys => [ request => { class => 'LIMS::DB::Request', key_columns => { request_id => 'id' }, rel_type => 'one to one', }, ], ); #=cut __PACKAGE__->meta->make_manager_class('request_specimen_details'); 1;