package DTA::Schema::Result::OpenTask;

# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE

use strict;
use warnings;

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

__PACKAGE__->load_components("InflateColumn::DateTime");

=head1 NAME

DTA::Schema::Result::OpenTask

=cut

__PACKAGE__->table("open_tasks");

=head1 ACCESSORS

=head2 id_book

  data_type: 'integer'
  is_nullable: 0

=head2 id_task

  data_type: 'integer'
  is_nullable: 0

=head2 task_name

  data_type: 'text'
  is_nullable: 1

=head2 id_user

  data_type: 'integer'
  is_nullable: 1

=head2 starttime

  data_type: 'timestamp'
  is_nullable: 1

=head2 endtime

  data_type: 'timestamp'
  is_nullable: 1

=head2 realendtime

  data_type: 'timestamp'
  is_nullable: 1

=head2 createdate

  data_type: 'timestamp'
  is_nullable: 1

=head2 comments

  data_type: 'text'
  is_nullable: 1

=head2 id_book_locations

  data_type: 'integer'
  is_nullable: 1

=head2 physical_location

  data_type: 'text'
  is_nullable: 1

=head2 parent_task

  data_type: 'integer'
  default_value: 0
  is_nullable: 1

=head2 active

  data_type: 'smallint'
  is_nullable: 1

=head2 activate_date

  data_type: 'timestamp'
  is_nullable: 1

=head2 log_last_change

  data_type: 'timestamp'
  is_nullable: 1

=head2 log_last_user

  data_type: 'bigint'
  is_nullable: 1

=head2 task_type

  data_type: 'bigint'
  is_nullable: 1

=head2 closed

  data_type: 'smallint'
  default_value: 0
  is_nullable: 1

=head2 grouped_task

  data_type: 'smallint'
  is_nullable: 1

=head2 group_task_id

  data_type: 'bigint'
  is_nullable: 1

=head2 id_fundstelle

  data_type: 'bigint'
  is_nullable: 1

=cut

__PACKAGE__->add_columns(
  "id_book",
  { data_type => "integer", is_nullable => 0 },
  "id_task",
  { data_type => "integer", is_nullable => 0 },
  "task_name",
  { data_type => "text", is_nullable => 1 },
  "id_user",
  { data_type => "integer", is_nullable => 1 },
  "starttime",
  { data_type => "timestamp", is_nullable => 1 },
  "endtime",
  { data_type => "timestamp", is_nullable => 1 },
  "realendtime",
  { data_type => "timestamp", is_nullable => 1 },
  "createdate",
  { data_type => "timestamp", is_nullable => 1 },
  "comments",
  { data_type => "text", is_nullable => 1 },
  "id_book_locations",
  { data_type => "integer", is_nullable => 1 },
  "physical_location",
  { data_type => "text", is_nullable => 1 },
  "parent_task",
  { data_type => "integer", default_value => 0, is_nullable => 1 },
  "active",
  { data_type => "smallint", is_nullable => 1 },
  "activate_date",
  { data_type => "timestamp", is_nullable => 1 },
  "log_last_change",
  { data_type => "timestamp", is_nullable => 1 },
  "log_last_user",
  { data_type => "bigint", is_nullable => 1 },
  "task_type",
  { data_type => "bigint", is_nullable => 1 },
  "closed",
  { data_type => "smallint", default_value => 0, is_nullable => 1 },
  "grouped_task",
  { data_type => "smallint", is_nullable => 1 },
  "group_task_id",
  { data_type => "bigint", is_nullable => 1 },
  "id_fundstelle",
  { data_type => "bigint", is_nullable => 1 },
);
__PACKAGE__->set_primary_key("id_book", "id_task");
__PACKAGE__->add_unique_constraint("id_task", ["id_task"]);


# Created by DBIx::Class::Schema::Loader v0.07008 @ 2012-05-30 13:08:48
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zdQh7yY/acb4p4Sq2nRMUw


# You can replace this text with custom code or comments, and it will be preserved on regeneration
__PACKAGE__->meta->make_immutable;
1;
