1 package Koha::Schema::Result::MatchpointComponent;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::MatchpointComponent
18 __PACKAGE__->table("matchpoint_components");
28 =head2 matchpoint_component_id
44 default_value: (empty string)
51 default_value: (empty string)
69 __PACKAGE__->add_columns(
71 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
72 "matchpoint_component_id",
73 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
77 data_type => "integer",
82 { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
84 { data_type => "varchar", default_value => "", is_nullable => 0, size => 40 },
86 { data_type => "integer", default_value => 0, is_nullable => 0 },
88 { data_type => "integer", default_value => 0, is_nullable => 0 },
90 __PACKAGE__->set_primary_key("matchpoint_component_id");
94 =head2 matchpoint_component_norms
98 Related object: L<Koha::Schema::Result::MatchpointComponentNorm>
102 __PACKAGE__->has_many(
103 "matchpoint_component_norms",
104 "Koha::Schema::Result::MatchpointComponentNorm",
106 "foreign.matchpoint_component_id" => "self.matchpoint_component_id",
108 { cascade_copy => 0, cascade_delete => 0 },
115 Related object: L<Koha::Schema::Result::Matchpoint>
119 __PACKAGE__->belongs_to(
121 "Koha::Schema::Result::Matchpoint",
122 { matchpoint_id => "matchpoint_id" },
123 { on_delete => "CASCADE", on_update => "CASCADE" },
127 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
128 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/7C/jFYOMSF/AtJViHH7jQ
131 # You can replace this text with custom content, and it will be preserved on regeneration