<<

NAME

Koha::Schema::Result::Rating

TABLE: ratings

ACCESSORS

borrowernumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

the borrowernumber of the patron who left this rating (borrowers.borrowernumber)

biblionumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

the biblio this rating is for (biblio.biblionumber)

rating_value

  data_type: 'tinyint'
  is_nullable: 0

the rating, from 1 to 5

timestamp

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

PRIMARY KEY

RELATIONS

biblionumber

Type: belongs_to

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

borrowernumber

Type: belongs_to

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

<<