package Common::DB::Schema::RSCOMMON::Job;

use strict;
use warnings;

use lib '/app/tools/common/lib';
use base 'Common::DB::DBIxCore';

## table
__PACKAGE__->table('RSCOMMON.job');

## columns
__PACKAGE__->add_columns(qw/
    job_id
    hostname
    client_id
    class
    subclass
    priority
    command_line
    command_xml
    run_hostname
    log_file
    log_path
    pid
    min_start_date
    queue_date
    start_date
    end_date
    heartbeat
    exit_code
    on_hold
    date_modified
    parent_job_id
    aborted
    paused
/);

## primary key
__PACKAGE__->set_primary_key('job_id');

1;
