<<

NAME

Koha::Schema::Result::Virtualshelve

TABLE: virtualshelves

ACCESSORS

shelfnumber

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

unique identifier assigned by Koha

shelfname

  data_type: 'varchar'
  is_nullable: 1
  size: 255

name of the list

owner

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

foreign key linking to the borrowers table (using borrowernumber) for the creator of this list (changed from varchar(80) to int)

public

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

If the list is public

sortfield

  data_type: 'varchar'
  default_value: 'title'
  is_nullable: 1
  size: 16

the field this list is sorted on

lastmodified

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

date and time the list was last modified

created_on

  data_type: 'datetime'
  datetime_undef_if_invalid: 1
  is_nullable: 0

creation time

allow_change_from_owner

  data_type: 'tinyint'
  default_value: 1
  is_nullable: 1

can owner change contents?

allow_change_from_others

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 1

can others change contents?

allow_change_from_staff

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 1

can staff change contents?

allow_change_from_permitted_staff

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 1

can staff with edit_public_list_contents permission change contents?

PRIMARY KEY

RELATIONS

owner

Type: belongs_to

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

virtualshelfcontents

Type: has_many

Related object: Koha::Schema::Result::Virtualshelfcontent

virtualshelfshares

Type: has_many

Related object: Koha::Schema::Result::Virtualshelfshare

<<