kivitendo/SL/DB/MetaSetup/Buchungsgruppe.pm @ 50b2c44e
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::Buchungsgruppe;
|
||||
use strict;
|
||||
2ea07c13 | Sven Schöling | use parent qw(SL::DB::Object);
|
||
4fd22b56 | Sven Schöling | |||
b8b112a3 | Sven Schöling | __PACKAGE__->meta->table('buchungsgruppen');
|
||
4fd22b56 | Sven Schöling | |||
b8b112a3 | Sven Schöling | __PACKAGE__->meta->columns(
|
||
description => { type => 'text' },
|
||||
f5c454e3 | Niclas Zimmermann | id => { type => 'integer', not_null => 1, sequence => 'id' },
|
||
5b77c5df | Moritz Bunkus | inventory_accno_id => { type => 'integer', not_null => 1 },
|
||
cff9b88d | Moritz Bunkus | obsolete => { type => 'boolean', default => 'false', not_null => 1 },
|
||
b8b112a3 | Sven Schöling | sortkey => { type => 'integer', not_null => 1 },
|
||
4fd22b56 | Sven Schöling | );
|
||
b8b112a3 | Sven Schöling | __PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||
5b77c5df | Moritz Bunkus | __PACKAGE__->meta->foreign_keys(
|
||
inventory_accno => {
|
||||
class => 'SL::DB::Chart',
|
||||
key_columns => { inventory_accno_id => 'id' },
|
||||
},
|
||||
);
|
||||
4fd22b56 | Sven Schöling | 1;
|
||
;
|