BPM-Engine

 view release on metacpan or  search on metacpan

lib/BPM/Engine/Store/Result/ActivityTask.pm  view on Meta::CPAN

package BPM::Engine::Store::Result::ActivityTask;
BEGIN {
    $BPM::Engine::Store::Result::ActivityTask::VERSION   = '0.01';
    $BPM::Engine::Store::Result::ActivityTask::AUTHORITY = 'cpan:SITETECH';
    }

use Moose;
use MooseX::NonMoose;
use namespace::autoclean;
extends 'DBIx::Class::Core';

__PACKAGE__->load_components(qw/ InflateColumn::Serializer /);
__PACKAGE__->table('wfd_activity_task');
__PACKAGE__->add_columns(
    task_id => {
        data_type         => 'INT',
        is_auto_increment => 1,
        is_nullable       => 0,
        extras            => { unsigned => 1 }
        },
    activity_id => {
        data_type         => 'INT',
        is_foreign_key    => 1,
        is_nullable       => 0,
        extras            => { unsigned => 1 }
        },
    application_id => {
        data_type         => 'INT',
        is_foreign_key    => 1,
        is_nullable       => 1,
        extras            => { unsigned => 1 }
        },    
    task_uid => {
        data_type         => 'VARCHAR',
        size              => 64,
        is_nullable       => 1,
        },
    task_name => {
        data_type         => 'VARCHAR',
        size              => 64,
        is_nullable       => 1,
        },    
    description => {
        data_type         => 'VARCHAR',
        size              => 255,
        is_nullable       => 1,
        },    
    task_type => {
        data_type         => 'ENUM',
        is_nullable       => 1,
        default           => 'Tool',
        default_value     => 'Tool',
        extra             => { list => [qw/
            Tool Application Reference
            Send Receive Service User Script Manual/] },
        },
    task_data => {
        data_type         => 'TEXT',
        is_nullable       => 1,
        serializer_class  => 'JSON',
        },
    actual_params => {
        data_type         => 'TEXT',
        is_nullable       => 1,
        serializer_class  => 'JSON',        
        },
    data_maps => {
        data_type         => 'TEXT',
        is_nullable       => 1,



( run in 0.676 second using v1.01-cache-2.11-cpan-39bf76dae61 )