<<

NAME

Koha::Schema::Result::BorrowerDebarment

TABLE: borrower_debarments

ACCESSORS

borrower_debarment_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

unique key for the restriction

borrowernumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

foreign key for borrowers.borrowernumber for patron who is restricted

expiration

  data_type: 'date'
  datetime_undef_if_invalid: 1
  is_nullable: 1

expiration date of the restriction

type

  data_type: 'varchar'
  is_foreign_key: 1
  is_nullable: 0
  size: 50

type of restriction, FK to restriction_types.code

comment

  data_type: 'mediumtext'
  is_nullable: 1

comments about the restriction

manager_id

  data_type: 'integer'
  is_nullable: 1

foreign key for borrowers.borrowernumber for the librarian managing the restriction

created

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

date the restriction was added

updated

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  is_nullable: 1

date the restriction was updated

PRIMARY KEY

RELATIONS

borrowernumber

Type: belongs_to

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

type

Type: belongs_to

Related object: Koha::Schema::Result::RestrictionType

<<