<<

NAME

Koha::Schema::Result::ArticleRequest

TABLE: article_requests

ACCESSORS

id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

borrowernumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

biblionumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

itemnumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

branchcode

  data_type: 'varchar'
  is_foreign_key: 1
  is_nullable: 1
  size: 10

title

  data_type: 'mediumtext'
  is_nullable: 1

author

  data_type: 'mediumtext'
  is_nullable: 1

volume

  data_type: 'mediumtext'
  is_nullable: 1

issue

  data_type: 'mediumtext'
  is_nullable: 1

date

  data_type: 'mediumtext'
  is_nullable: 1

pages

  data_type: 'mediumtext'
  is_nullable: 1

chapters

  data_type: 'mediumtext'
  is_nullable: 1

patron_notes

  data_type: 'mediumtext'
  is_nullable: 1

status

  data_type: 'enum'
  default_value: 'PENDING'
  extra: {list => ["PENDING","PROCESSING","COMPLETED","CANCELED"]}
  is_nullable: 0

notes

  data_type: 'mediumtext'
  is_nullable: 1

created_on

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  default_value: current_timestamp
  is_nullable: 0

updated_on

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  is_nullable: 1

PRIMARY KEY

RELATIONS

biblionumber

Type: belongs_to

Related object: Koha::Schema::Result::Biblio

borrowernumber

Type: belongs_to

Related object: Koha::Schema::Result::Borrower

branchcode

Type: belongs_to

Related object: Koha::Schema::Result::Branch

itemnumber

Type: belongs_to

Related object: Koha::Schema::Result::Item

<<