Projekt

Allgemein

Profil

Herunterladen (1,42 KB) 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::PeriodicInvoicesConfig;

use strict;

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

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

__PACKAGE__->meta->columns(
3eb3d1b1 Moritz Bunkus
active => { type => 'boolean', default => 'true' },
ar_chart_id => { type => 'integer', not_null => 1 },
copies => { type => 'integer' },
end_date => { type => 'date' },
extend_automatically_by => { type => 'integer' },
b8b112a3 Sven Schöling
id => { type => 'integer', not_null => 1, sequence => 'id' },
oe_id => { type => 'integer', not_null => 1 },
periodicity => { type => 'varchar', length => 10, not_null => 1 },
print => { type => 'boolean', default => 'false' },
printer_id => { type => 'integer' },
start_date => { type => 'date' },
3eb3d1b1 Moritz Bunkus
terminated => { type => 'boolean', default => 'false' },
250fa402 Moritz Bunkus
);

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

__PACKAGE__->meta->foreign_keys(
ar_chart => {
class => 'SL::DB::Chart',
key_columns => { ar_chart_id => 'id' },
},

f4608acc Sven Schöling
order => {
b8b112a3 Sven Schöling
class => 'SL::DB::Order',
key_columns => { oe_id => 'id' },
},

4bcf8804 Sven Schöling
printer => {
class => 'SL::DB::Printer',
key_columns => { printer_id => 'id' },
b8b112a3 Sven Schöling
},
);

250fa402 Moritz Bunkus
1;
;