<<

NAME

Koha::Schema::Result::Stockrotationstage

TABLE: stockrotationstages

ACCESSORS

stage_id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

Unique stage ID

position

  data_type: 'integer'
  is_nullable: 0

The position of this stage within its rota

rota_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

The rota this stage belongs to

branchcode_id

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

Branch this stage relates to

duration

  data_type: 'integer'
  default_value: 4
  is_nullable: 0

The number of days items shoud occupy this stage

PRIMARY KEY

RELATIONS

branchcode

Type: belongs_to

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

rota

Type: belongs_to

Related object: Koha::Schema::Result::Stockrotationrota

stockrotationitems

Type: has_many

Related object: Koha::Schema::Result::Stockrotationitem

<<