BPM-Engine
view release on metacpan or search on metacpan
lib/BPM/Engine/Store/Result/WorkItem.pm view on Meta::CPAN
package BPM::Engine::Store::Result::WorkItem;
BEGIN {
$BPM::Engine::Store::Result::WorkItem::VERSION = '0.01';
$BPM::Engine::Store::Result::WorkItem::AUTHORITY = 'cpan:SITETECH';
}
use namespace::autoclean;
use Moose;
extends qw/BPM::Engine::Store::Result/;
__PACKAGE__->load_components(qw/ Core /);
__PACKAGE__->table('wfe_workitem');
__PACKAGE__->add_columns(
workitem_id => {
data_type => 'INT',
is_auto_increment => 1,
is_nullable => 0,
extras => { unsigned => 1 },
size => 11,
},
name => {
data_type => 'VARCHAR',
size => 64,
is_nullable => 1,
},
parent_id => {
data_type => 'INT',
extras => { unsigned => 1 },
is_foreign_key => 1,
is_nullable => 1,
},
process_id => {
data_type => 'CHAR',
size => 36,
is_nullable => 0,
is_foreign_key => 1,
},
process_instance_id => {
data_type => 'INT',
is_foreign_key => 1,
is_nullable => 0,
extras => { unsigned => 1 },
},
activity_id => {
data_type => 'INT',
extras => { unsigned => 1 },
is_foreign_key => 1,
is_nullable => 0,
},
token_id => {
data_type => 'INT',
extras => { unsigned => 1 },
is_foreign_key => 1,
is_nullable => 0,
},
participant_id => {
data_type => 'INT',
extras => { unsigned => 1 },
is_foreign_key => 1,
is_nullable => 0,
},
status => {
data_type => 'VARCHAR',
size => 20,
is_nullable => 1,
},
workitem_type => {
( run in 0.855 second using v1.01-cache-2.11-cpan-39bf76dae61 )