2 package Koha::Schema::Result::MatchpointComponent;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::MatchpointComponent
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<matchpoint_components>
22 __PACKAGE__->table("matchpoint_components");
32 =head2 matchpoint_component_id
48 default_value: (empty string)
55 default_value: (empty string)
73 __PACKAGE__->add_columns(
75 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
76 "matchpoint_component_id",
77 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
81 data_type => "integer",
86 { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
88 { data_type => "varchar", default_value => "", is_nullable => 0, size => 40 },
90 { data_type => "integer", default_value => 0, is_nullable => 0 },
92 { data_type => "integer", default_value => 0, is_nullable => 0 },
99 =item * L</matchpoint_component_id>
105 __PACKAGE__->set_primary_key("matchpoint_component_id");
113 Related object: L<Koha::Schema::Result::Matchpoint>
117 __PACKAGE__->belongs_to(
119 "Koha::Schema::Result::Matchpoint",
120 { matchpoint_id => "matchpoint_id" },
121 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
124 =head2 matchpoint_component_norms
128 Related object: L<Koha::Schema::Result::MatchpointComponentNorm>
132 __PACKAGE__->has_many(
133 "matchpoint_component_norms",
134 "Koha::Schema::Result::MatchpointComponentNorm",
136 "foreign.matchpoint_component_id" => "self.matchpoint_component_id",
138 { cascade_copy => 0, cascade_delete => 0 },
142 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
143 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R9niKe/wGJXD+ZVkIP5Wpg
146 # You can replace this text with custom content, and it will be preserved on regeneration