2 package Koha::Schema::Result::ClubEnrollmentField;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::ClubEnrollmentField
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<club_enrollment_fields>
22 __PACKAGE__->table("club_enrollment_fields");
32 =head2 club_enrollment_id
38 =head2 club_template_enrollment_field_id
46 data_type: 'mediumtext'
51 __PACKAGE__->add_columns(
53 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
55 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
56 "club_template_enrollment_field_id",
57 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
59 { data_type => "mediumtext", is_nullable => 0 },
72 __PACKAGE__->set_primary_key("id");
76 =head2 club_enrollment
80 Related object: L<Koha::Schema::Result::ClubEnrollment>
84 __PACKAGE__->belongs_to(
86 "Koha::Schema::Result::ClubEnrollment",
87 { id => "club_enrollment_id" },
88 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
91 =head2 club_template_enrollment_field
95 Related object: L<Koha::Schema::Result::ClubTemplateEnrollmentField>
99 __PACKAGE__->belongs_to(
100 "club_template_enrollment_field",
101 "Koha::Schema::Result::ClubTemplateEnrollmentField",
102 { id => "club_template_enrollment_field_id" },
103 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
107 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
108 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:tr8INu1+veRdWkRT4BgBOQ
110 sub koha_object_class {
111 'Koha::Club::Enrollment::Field';
113 sub koha_objects_class {
114 'Koha::Club::Enrollment::Fields';