Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / AccountOffsetType.pm
blobfd62a02969a0715257fd4288f6c24a5021525bae
1 use utf8;
2 package Koha::Schema::Result::AccountOffsetType;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::AccountOffsetType
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<account_offset_types>
20 =cut
22 __PACKAGE__->table("account_offset_types");
24 =head1 ACCESSORS
26 =head2 type
28 data_type: 'varchar'
29 is_nullable: 0
30 size: 16
32 =cut
34 __PACKAGE__->add_columns(
35 "type",
36 { data_type => "varchar", is_nullable => 0, size => 16 },
39 =head1 PRIMARY KEY
41 =over 4
43 =item * L</type>
45 =back
47 =cut
49 __PACKAGE__->set_primary_key("type");
51 =head1 RELATIONS
53 =head2 account_offsets
55 Type: has_many
57 Related object: L<Koha::Schema::Result::AccountOffset>
59 =cut
61 __PACKAGE__->has_many(
62 "account_offsets",
63 "Koha::Schema::Result::AccountOffset",
64 { "foreign.type" => "self.type" },
65 { cascade_copy => 0, cascade_delete => 0 },
69 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-20 16:27:04
70 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rPRWMfAfRke3jGG3iISi2A
73 # You can replace this text with custom code or comments, and it will be preserved on regeneration