<<

NAME

Koha::Schema::Result::CourseItem

TABLE: course_items

ACCESSORS

ci_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

itemnumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

itype

  data_type: 'varchar'
  is_nullable: 1
  size: 10

ccode

  data_type: 'varchar'
  is_nullable: 1
  size: 10

holdingbranch

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

location

  data_type: 'varchar'
  is_nullable: 1
  size: 80

enabled

  data_type: 'enum'
  default_value: 'no'
  extra: {list => ["yes","no"]}
  is_nullable: 0

timestamp

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

PRIMARY KEY

UNIQUE CONSTRAINTS

itemnumber

RELATIONS

course_reserves

Type: has_many

Related object: Koha::Schema::Result::CourseReserve

holdingbranch

Type: belongs_to

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

itemnumber

Type: belongs_to

Related object: Koha::Schema::Result::Item

<<