Increment version for 3.22.6 release
[koha.git] / Koha / Schema / Result / MarcTagStructure.pm
blob8873ef35eeac6b1981448ea0acb3250441dbb91e
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 authorised_value
61 data_type: 'varchar'
62 is_nullable: 1
63 size: 10
65 =head2 frameworkcode
67 data_type: 'varchar'
68 default_value: (empty string)
69 is_nullable: 0
70 size: 4
72 =cut
74 __PACKAGE__->add_columns(
75 "tagfield",
76 { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
77 "liblibrarian",
78 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
79 "libopac",
80 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
81 "repeatable",
82 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
83 "mandatory",
84 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
85 "authorised_value",
86 { data_type => "varchar", is_nullable => 1, size => 10 },
87 "frameworkcode",
88 { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
91 =head1 PRIMARY KEY
93 =over 4
95 =item * L</frameworkcode>
97 =item * L</tagfield>
99 =back
101 =cut
103 __PACKAGE__->set_primary_key("frameworkcode", "tagfield");
106 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
107 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TvdQBCX3rEhJxxqGcqrpWw
110 # You can replace this text with custom content, and it will be preserved on regeneration