2016-06-26 17:49:12 +02:00
|
|
|
use strict;
|
|
|
|
|
|
|
|
package TrsrDB::Balance;
|
|
|
|
use base qw/DBIx::Class::Core/;
|
|
|
|
|
|
|
|
__PACKAGE__->table("Balance");
|
2016-07-06 22:28:56 +02:00
|
|
|
__PACKAGE__->add_columns(qw/ ID available earned promised spent arrears even_until /);
|
2016-06-26 17:49:12 +02:00
|
|
|
__PACKAGE__->set_primary_key("ID");
|
|
|
|
|
|
|
|
__PACKAGE__->belongs_to(
|
|
|
|
account => 'TrsrDB::Account', 'ID'
|
|
|
|
);
|
|
|
|
|
|
|
|
1;
|