package Orchard::DB::Schema::RoyaltyAccounting::TransactionType;

use strict;
use warnings;

use lib '/var/app/orchard/collab/jgetter/perllib';
use base 'Orchard::DB::DBIxCore';

## table
__PACKAGE__->table('royalty_accounting.transaction_type');

## columns
__PACKAGE__->add_columns(
    'transaction_type_id' => {'data_type'=>'mediumint','is_nullable'=>0},
    'transaction_type_abbr' => {'data_type'=>'varchar','is_nullable'=>0},
    'transaction_type_desc' => {'data_type'=>'varchar','is_nullable'=>1},
    'transaction_group_id' => {'data_type'=>'int','is_nullable'=>1}
);

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

1;
