<<

NAME

Koha::Schema::Result::PreservationTrain

TABLE: preservation_trains

ACCESSORS

train_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

primary key

name

  data_type: 'varchar'
  is_nullable: 0
  size: 80

name of the train

description

  data_type: 'varchar'
  is_nullable: 1
  size: 255

description of the train

default_processing_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

default processing, link to preservation_processings.processing_id

not_for_loan

  data_type: 'varchar'
  default_value: 0
  is_nullable: 0
  size: 80

NOT_LOAN authorised value to apply toitem added to this train

created_on

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

creation date

closed_on

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

closing date

sent_on

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

sending date

received_on

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 1

receiving date

PRIMARY KEY

RELATIONS

default_processing

Type: belongs_to

Related object: Koha::Schema::Result::PreservationProcessing

preservation_trains_items

Type: has_many

Related object: Koha::Schema::Result::PreservationTrainsItem

<<