<<

NAME

Koha::Schema::Result::Itemtype

TABLE: itemtypes

ACCESSORS

itemtype

  data_type: 'varchar'
  default_value: (empty string)
  is_nullable: 0
  size: 10

unique key, a code associated with the item type

parent_type

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

unique key, a code associated with the item type

description

  data_type: 'longtext'
  is_nullable: 1

a plain text explanation of the item type

rentalcharge

  data_type: 'decimal'
  is_nullable: 1
  size: [28,6]

the amount charged when this item is checked out/issued

rentalcharge_daily

  data_type: 'decimal'
  is_nullable: 1
  size: [28,6]

the amount charged for each day between checkout date and due date

rentalcharge_daily_calendar

  data_type: 'tinyint'
  default_value: 1
  is_nullable: 0

controls if the daily rental fee is calculated directly or using finesCalendar

rentalcharge_hourly

  data_type: 'decimal'
  is_nullable: 1
  size: [28,6]

the amount charged for each hour between checkout date and due date

rentalcharge_hourly_calendar

  data_type: 'tinyint'
  default_value: 1
  is_nullable: 0

controls if the hourly rental fee is calculated directly or using finesCalendar

defaultreplacecost

  data_type: 'decimal'
  is_nullable: 1
  size: [28,6]

default replacement cost

processfee

  data_type: 'decimal'
  is_nullable: 1
  size: [28,6]

default text be recorded in the column note when the processing fee is applied

notforloan

  data_type: 'smallint'
  is_nullable: 1

1 if the item is not for loan, 0 if the item is available for loan

imageurl

  data_type: 'varchar'
  is_nullable: 1
  size: 200

URL for the item type icon

summary

  data_type: 'mediumtext'
  is_nullable: 1

information from the summary field, may include HTML

checkinmsg

  data_type: 'varchar'
  is_nullable: 1
  size: 255

message that is displayed when an item with the given item type is checked in

checkinmsgtype

  data_type: 'char'
  default_value: 'message'
  is_nullable: 0
  size: 16

type (CSS class) for the checkinmsg, can be 'alert' or 'message'

sip_media_type

  data_type: 'varchar'
  is_nullable: 1
  size: 3

SIP2 protocol media type for this itemtype

hideinopac

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

Hide the item type from the search options in OPAC

searchcategory

  data_type: 'varchar'
  is_nullable: 1
  size: 80

Group this item type with others with the same value on OPAC search options

automatic_checkin

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

If automatic checkin is enabled for items of this type

PRIMARY KEY

RELATIONS

circulation_rules

Type: has_many

Related object: Koha::Schema::Result::CirculationRule

itemtypes

Type: has_many

Related object: Koha::Schema::Result::Itemtype

itemtypes_branches

Type: has_many

Related object: Koha::Schema::Result::ItemtypesBranch

old_reserves

Type: has_many

Related object: Koha::Schema::Result::OldReserve

parent_type

Type: belongs_to

Related object: Koha::Schema::Result::Itemtype

reserves

Type: has_many

Related object: Koha::Schema::Result::Reserve

<<