Bug 25501: Supress warnings on installing translation
[koha.git] / Koha / Schema / Result / AqordersClaim.pm
blob3b86f6747c5ae40fabb80336706aacb903141463
1 use utf8;
2 package Koha::Schema::Result::AqordersClaim;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::AqordersClaim
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<aqorders_claims>
20 =cut
22 __PACKAGE__->table("aqorders_claims");
24 =head1 ACCESSORS
26 =head2 id
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 ordernumber
34 data_type: 'integer'
35 is_foreign_key: 1
36 is_nullable: 0
38 =head2 claimed_on
40 data_type: 'timestamp'
41 datetime_undef_if_invalid: 1
42 default_value: current_timestamp
43 is_nullable: 0
45 =cut
47 __PACKAGE__->add_columns(
48 "id",
49 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
50 "ordernumber",
51 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
52 "claimed_on",
54 data_type => "timestamp",
55 datetime_undef_if_invalid => 1,
56 default_value => \"current_timestamp",
57 is_nullable => 0,
61 =head1 PRIMARY KEY
63 =over 4
65 =item * L</id>
67 =back
69 =cut
71 __PACKAGE__->set_primary_key("id");
73 =head1 RELATIONS
75 =head2 ordernumber
77 Type: belongs_to
79 Related object: L<Koha::Schema::Result::Aqorder>
81 =cut
83 __PACKAGE__->belongs_to(
84 "ordernumber",
85 "Koha::Schema::Result::Aqorder",
86 { ordernumber => "ordernumber" },
87 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
91 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-05-04 08:25:41
92 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YHD9b6rUAPUM5HzFg4k9Wg
94 sub koha_object_class {
95 'Koha::Acquisition::Order::Claim';
97 sub koha_objects_class {
98 'Koha::Acquisition::Order::Claims';