<<

NAME

Koha::Schema::Result::BorrowerAttribute

TABLE: borrower_attributes

ACCESSORS

id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

Row id field

borrowernumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

foreign key from the borrowers table, defines which patron/borrower has this attribute

code

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

foreign key from the borrower_attribute_types table, defines which custom field this value was entered for

attribute

  data_type: 'varchar'
  is_nullable: 1
  size: 255

custom patron field value

PRIMARY KEY

RELATIONS

borrowernumber

Type: belongs_to

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

code

Type: belongs_to

Related object: Koha::Schema::Result::BorrowerAttributeType

borrower_attribute_types

Type: belongs_to

Related object: Koha::Schema::Result::BorrowerAttributeType

<<