<<

NAME

Koha::Schema::Result::CashRegister

TABLE: cash_registers

ACCESSORS

id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

unique identifier for each account register

name

  data_type: 'varchar'
  is_nullable: 0
  size: 24

the user friendly identifier for each account register

description

  data_type: 'longtext'
  is_nullable: 0

the user friendly description for each account register

branch

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

the foreign key the library this account register belongs

branch_default

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

boolean flag to denote that this till is the branch default

starting_float

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

the starting float this account register should be assigned

archived

  data_type: 'tinyint'
  default_value: 0
  is_nullable: 0

boolean flag to denote if this till is archived or not

PRIMARY KEY

UNIQUE CONSTRAINTS

name

RELATIONS

accountlines

Type: has_many

Related object: Koha::Schema::Result::Accountline

branch

Type: belongs_to

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

cash_register_actions

Type: has_many

Related object: Koha::Schema::Result::CashRegisterAction

<<