<<

NAME

Koha::Schema::Result::ClubEnrollment

TABLE: club_enrollments

ACCESSORS

id

  data_type: 'integer'
  is_auto_increment: 1
  is_nullable: 0

club_id

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

borrowernumber

  data_type: 'integer'
  is_foreign_key: 1
  is_nullable: 0

date_enrolled

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

date_canceled

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  is_nullable: 1

date_created

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  default_value: '0000-00-00 00:00:00'
  is_nullable: 0

date_updated

  data_type: 'timestamp'
  datetime_undef_if_invalid: 1
  is_nullable: 1

branchcode

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

PRIMARY KEY

RELATIONS

borrowernumber

Type: belongs_to

Related object: Koha::Schema::Result::Borrower

branchcode

Type: belongs_to

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

club

Type: belongs_to

Related object: Koha::Schema::Result::Club

club_enrollment_fields

Type: has_many

Related object: Koha::Schema::Result::ClubEnrollmentField

<<