Bug 17855 - Followup patch following requests in comments 176 and 177
[koha.git] / Koha / Schema / Result / MatchpointComponentNorm.pm
bloba885a7cddef553f66f01152f3f850e1a773b6f27
1 use utf8;
2 package Koha::Schema::Result::MatchpointComponentNorm;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::MatchpointComponentNorm
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<matchpoint_component_norms>
20 =cut
22 __PACKAGE__->table("matchpoint_component_norms");
24 =head1 ACCESSORS
26 =head2 matchpoint_component_id
28 data_type: 'integer'
29 is_foreign_key: 1
30 is_nullable: 0
32 =head2 sequence
34 accessor: undef
35 data_type: 'integer'
36 default_value: 0
37 is_nullable: 0
39 =head2 norm_routine
41 data_type: 'varchar'
42 default_value: (empty string)
43 is_nullable: 0
44 size: 50
46 =cut
48 __PACKAGE__->add_columns(
49 "matchpoint_component_id",
50 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
51 "sequence",
53 accessor => undef,
54 data_type => "integer",
55 default_value => 0,
56 is_nullable => 0,
58 "norm_routine",
59 { data_type => "varchar", default_value => "", is_nullable => 0, size => 50 },
62 =head1 RELATIONS
64 =head2 matchpoint_component
66 Type: belongs_to
68 Related object: L<Koha::Schema::Result::MatchpointComponent>
70 =cut
72 __PACKAGE__->belongs_to(
73 "matchpoint_component",
74 "Koha::Schema::Result::MatchpointComponent",
75 { matchpoint_component_id => "matchpoint_component_id" },
76 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
80 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
81 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Aj5cUNNx7G5iq0w0AFVgtA
84 # You can replace this text with custom content, and it will be preserved on regeneration