BPM-Engine
view release on metacpan or search on metacpan
lib/BPM/Engine/Store/Result/Transition.pm view on Meta::CPAN
package BPM::Engine::Store::Result::Transition;
BEGIN {
$BPM::Engine::Store::Result::Transition::VERSION = '0.01';
$BPM::Engine::Store::Result::Transition::AUTHORITY = 'cpan:SITETECH';
}
use namespace::autoclean;
use Moose;
extends qw/BPM::Engine::Store::Result/;
with qw/
BPM::Engine::Store::ResultBase::ProcessTransition
BPM::Engine::Store::ResultRole::WithAssignments
/;
#__PACKAGE__->load_components(qw/ Core /);
__PACKAGE__->table('wfd_transition');
__PACKAGE__->add_columns(
transition_id => {
data_type => 'INT',
is_auto_increment => 1,
is_nullable => 0,
extras => { unsigned => 1 }
},
process_id => {
data_type => 'CHAR',
size => 36,
is_nullable => 0,
is_foreign_key => 1,
},
from_activity_id => { # state
data_type => 'INT',
is_nullable => 0,
is_foreign_key => 1,
},
to_activity_id => { # to_state
data_type => 'INT',
is_nullable => 0,
is_foreign_key => 1,
},
transition_uid => {
data_type => 'VARCHAR',
size => 64,
is_nullable => 1,
},
transition_name => {
data_type => 'VARCHAR',
size => 255,
is_nullable => 1,
},
description => {
data_type => 'VARCHAR',
size => 255,
is_nullable => 1,
},
condition_type => {
data_type => 'ENUM',
is_nullable => 0,
default => 'NONE',
default_value => 'NONE',
extra => { list => [qw/
NONE CONDITION OTHERWISE EXCEPTION DEFAULTEXCEPTION
/] },
},
condition_expr => {
data_type => 'TEXT',
is_nullable => 1,
},
( run in 0.791 second using v1.01-cache-2.11-cpan-39bf76dae61 )