<<

NAME

Koha::Schema::Result::Recall - Information related to recalls in Koha

TABLE: recalls

ACCESSORS

recall_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

Unique identifier for this recall

patron_id

  data_type: 'integer'
  default_value: 0
  is_foreign_key: 1
  is_nullable: 0

Identifier for patron who requested recall

created_date

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

Date the recall was requested

biblio_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

Identifier for bibliographic record that has been recalled

pickup_library_id

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

Identifier for recall pickup library

completed_date

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

Date the recall is completed (fulfilled, cancelled or expired)

notes

  data_type: 'mediumtext'
  is_nullable: 1

Notes related to the recall

priority

  data_type: 'smallint'
  is_nullable: 1

Where in the queue the patron sits

status

  data_type: 'enum'
  default_value: 'requested'
  extra: {list => ["requested","overdue","waiting","in_transit","cancelled","expired","fulfilled"]}
  is_nullable: 1

Status of recall

timestamp

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

Date and time the recall was last updated

item_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

Identifier for item record that was recalled, if an item-level recall

waiting_date

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

Date an item was marked as waiting for the patron at the library

expiration_date

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

Date recall is no longer required, or date recall will expire after waiting on shelf for pickup

completed

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Flag if recall is old and no longer active, i.e. expired, cancelled or completed

item_level

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Flag if recall is for a specific item

PRIMARY KEY

RELATIONS

biblio

Type: belongs_to

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

item

Type: belongs_to

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

patron

Type: belongs_to

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

pickup_library

Type: belongs_to

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

<<