Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / MarcTagStructure.pm
blob7a8803101501d2d43bae74a22f7df1d1438b0427
1 use utf8;
2 package Koha::Schema::Result::MarcTagStructure;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::MarcTagStructure
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<marc_tag_structure>
20 =cut
22 __PACKAGE__->table("marc_tag_structure");
24 =head1 ACCESSORS
26 =head2 tagfield
28 data_type: 'varchar'
29 default_value: (empty string)
30 is_nullable: 0
31 size: 3
33 =head2 liblibrarian
35 data_type: 'varchar'
36 default_value: (empty string)
37 is_nullable: 0
38 size: 255
40 =head2 libopac
42 data_type: 'varchar'
43 default_value: (empty string)
44 is_nullable: 0
45 size: 255
47 =head2 repeatable
49 data_type: 'tinyint'
50 default_value: 0
51 is_nullable: 0
53 =head2 mandatory
55 data_type: 'tinyint'
56 default_value: 0
57 is_nullable: 0
59 =head2 important
61 data_type: 'tinyint'
62 default_value: 0
63 is_nullable: 0
65 =head2 authorised_value
67 data_type: 'varchar'
68 is_nullable: 1
69 size: 10
71 =head2 ind1_defaultvalue
73 data_type: 'varchar'
74 default_value: (empty string)
75 is_nullable: 0
76 size: 1
78 =head2 ind2_defaultvalue
80 data_type: 'varchar'
81 default_value: (empty string)
82 is_nullable: 0
83 size: 1
85 =head2 frameworkcode
87 data_type: 'varchar'
88 default_value: (empty string)
89 is_nullable: 0
90 size: 4
92 =cut
94 __PACKAGE__->add_columns(
95 "tagfield",
96 { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
97 "liblibrarian",
98 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
99 "libopac",
100 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
101 "repeatable",
102 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
103 "mandatory",
104 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
105 "important",
106 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
107 "authorised_value",
108 { data_type => "varchar", is_nullable => 1, size => 10 },
109 "ind1_defaultvalue",
110 { data_type => "varchar", default_value => "", is_nullable => 0, size => 1 },
111 "ind2_defaultvalue",
112 { data_type => "varchar", default_value => "", is_nullable => 0, size => 1 },
113 "frameworkcode",
114 { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
117 =head1 PRIMARY KEY
119 =over 4
121 =item * L</frameworkcode>
123 =item * L</tagfield>
125 =back
127 =cut
129 __PACKAGE__->set_primary_key("frameworkcode", "tagfield");
132 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-11 14:36:42
133 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JdpVv7CUrY61kqmMYDE4AA
136 # You can replace this text with custom content, and it will be preserved on regeneration