Projekt

Allgemein

Profil

Herunterladen (907 Bytes) Statistiken
| Zweig: | Markierung: | Revision:
4fd22b56 Sven Schöling
# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::BankAccount;

use strict;

use base qw(SL::DB::Object);

b8b112a3 Sven Schöling
__PACKAGE__->meta->table('bank_accounts');

__PACKAGE__->meta->columns(
account_number => { type => 'varchar', length => 100 },
3eb3d1b1 Moritz Bunkus
bank => { type => 'text' },
b8b112a3 Sven Schöling
bank_code => { type => 'varchar', length => 100 },
bic => { type => 'varchar', length => 100 },
chart_id => { type => 'integer', not_null => 1 },
3eb3d1b1 Moritz Bunkus
iban => { type => 'varchar', length => 100 },
id => { type => 'integer', not_null => 1, sequence => 'id' },
843de783 Geoffrey Richardson
name => { type => 'text' },
4fd22b56 Sven Schöling
);

b8b112a3 Sven Schöling
__PACKAGE__->meta->primary_key_columns([ 'id' ]);

__PACKAGE__->meta->foreign_keys(
chart => {
class => 'SL::DB::Chart',
key_columns => { chart_id => 'id' },
},
);

4fd22b56 Sven Schöling
1;
;