kivitendo/SL/DB/MetaSetup/FollowUpAccess.pm @ 912e5eff
f97b0778 | 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::FollowUpAccess;
|
||||
use strict;
|
||||
2ea07c13 | Sven Schöling | use parent qw(SL::DB::Object);
|
||
f97b0778 | Sven Schöling | |||
b8b112a3 | Sven Schöling | __PACKAGE__->meta->table('follow_up_access');
|
||
__PACKAGE__->meta->columns(
|
||||
id => { type => 'serial', not_null => 1 },
|
||||
3eb3d1b1 | Moritz Bunkus | what => { type => 'integer', not_null => 1 },
|
||
who => { type => 'integer', not_null => 1 },
|
||||
b8b112a3 | Sven Schöling | );
|
||
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||||
__PACKAGE__->meta->foreign_keys(
|
||||
68e4c3a2 | Moritz Bunkus | to_follow_ups_by => {
|
||
b8b112a3 | Sven Schöling | class => 'SL::DB::Employee',
|
||
3eb3d1b1 | Moritz Bunkus | key_columns => { what => 'id' },
|
||
b8b112a3 | Sven Schöling | },
|
||
68e4c3a2 | Moritz Bunkus | with_access => {
|
||
b8b112a3 | Sven Schöling | class => 'SL::DB::Employee',
|
||
3eb3d1b1 | Moritz Bunkus | key_columns => { who => 'id' },
|
||
b8b112a3 | Sven Schöling | },
|
||
f97b0778 | Sven Schöling | );
|
||
1;
|
||||
;
|