<<

NAME

Koha::Schema::Result::SpecialHoliday

TABLE: special_holidays

ACCESSORS

id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

unique identifier assigned by Koha

branchcode

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

foreign key from the branches table, defines which branch this closing is for

day

  data_type: 'smallint'
  default_value: 0
  is_nullable: 0

day of the month this closing is on

month

  data_type: 'smallint'
  default_value: 0
  is_nullable: 0

month this closing is in

year

  data_type: 'smallint'
  default_value: 0
  is_nullable: 0

year this closing is in

isexception

  data_type: 'smallint'
  default_value: 1
  is_nullable: 0

is this a holiday exception to a repeatable holiday (1 for yes, 0 for no)

title

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

title for this closing

description

  data_type: 'mediumtext'
  is_nullable: 0

description of this closing

PRIMARY KEY

RELATIONS

branchcode

Type: belongs_to

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

<<