package Orchard::DB::Schema::RoyaltyAccounting::PaymentGroupPaymentBatch;

use strict;
use warnings;

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

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

## columns
__PACKAGE__->add_columns(
    'payment_group_payment_batch_id' => {'is_auto_increment'=>1,'data_type'=>'bigint','is_nullable'=>0},
    'payment_group_payment_id' => {'data_type'=>'mediumint','is_nullable'=>0},
    'payoneer_program_id' => {'data_type'=>'int','is_nullable'=>0},
    'batch_num' => {'data_type'=>'tinyint','is_nullable'=>0},
    'created_by' => {'data_type'=>'varchar','is_nullable'=>0},
    'created_at' => {'data_type'=>'datetime','is_nullable'=>0},
    'last_modified_by' => {'data_type'=>'varchar','is_nullable'=>0},
    'last_modified' => {'data_type'=>'datetime','is_nullable'=>0}
);

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

1;
