<<

NAME

Koha::Schema::Result::LibraryGroup

TABLE: library_groups

ACCESSORS

id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

unique id for each group

parent_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 1

if this is a child group, the id of the parent group

branchcode

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

The branchcode of a branch belonging to the parent group

title

  data_type: 'varchar'
  is_nullable: 1
  size: 100

Short description of the goup

description

  data_type: 'mediumtext'
  is_nullable: 1

Longer explanation of the group, if necessary

ft_hide_patron_info

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Turn on the feature 'Hide patron's info' for this group

ft_limit_item_editing

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Turn on the feature "Limit item editing by group" for this group

ft_search_groups_opac

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Use this group for staff side search groups

ft_search_groups_staff

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Use this group for opac side search groups

ft_local_hold_group

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Use this group to identify libraries as pick up location for holds

ft_local_float_group

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Use this group to identify libraries as part of float group

created_on

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  is_nullable: 1

Date and time of creation

updated_on

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

Date and time of last

PRIMARY KEY

UNIQUE CONSTRAINTS

library_groups_uniq_2

title

RELATIONS

branchcode

Type: belongs_to

Related object: Koha::Schema::Result::Branch

library_groups

Type: has_many

Related object: Koha::Schema::Result::LibraryGroup

parent

Type: belongs_to

Related object: Koha::Schema::Result::LibraryGroup

<<