Projekt

Allgemein

Profil

Herunterladen (960 Bytes) Statistiken
| Zweig: | Markierung: | Revision:
250fa402 Moritz Bunkus
# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::PeriodicInvoice;

use strict;

2ea07c13 Sven Schöling
use parent qw(SL::DB::Object);
250fa402 Moritz Bunkus
b8b112a3 Sven Schöling
__PACKAGE__->meta->table('periodic_invoices');

__PACKAGE__->meta->columns(
ar_id => { type => 'integer', not_null => 1 },
3eb3d1b1 Moritz Bunkus
config_id => { type => 'integer', not_null => 1 },
id => { type => 'integer', not_null => 1, sequence => 'id' },
b8b112a3 Sven Schöling
itime => { type => 'timestamp', default => 'now()' },
3eb3d1b1 Moritz Bunkus
period_start_date => { type => 'date', not_null => 1 },
250fa402 Moritz Bunkus
);

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

__PACKAGE__->meta->allow_inline_column_values(1);

__PACKAGE__->meta->foreign_keys(
ar => {
class => 'SL::DB::Invoice',
key_columns => { ar_id => 'id' },
},
4bcf8804 Sven Schöling
config => {
class => 'SL::DB::PeriodicInvoicesConfig',
key_columns => { config_id => 'id' },
},
b8b112a3 Sven Schöling
);

250fa402 Moritz Bunkus
1;
;